Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-10263

tests: sanity-hsm: is make_small_sync really needed?

XMLWordPrintable

    • Icon: Question/Request Question/Request
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • None
    • 9223372036854775807

      Tests 228 and 405 are the only tests that use the make_small_sync() function in sanity-hsm.

      Considering the function internally calls:

      dd if=/dev/urandom ... conv=sync
      

      That conv=sync means: "pad every input block with NULs to ibs-size; when used with block or unblock, pad with spaces rather than NULs"

      And that /dev/urandom does not return short reads, and does not block.

      I believe the usefulness of make_small_sync is questionable.

            bougetq Quentin Bouget (Inactive)
            cealustre CEA
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: