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

convert lustre/tests/mmap_sanity.c over to use llapi_test_util.c

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Lustre 2.16.1
    • 3
    • 9223372036854775807

      The test selection code in mmap_sanity.c could be modified to share the new test selection infrastructure added in llapi_test_util.c from patch https://review.whamcloud.com/58786 ("LU-15762 tests: skip llapi_hsm_test113 on old server").

      Some small changes would be needed in llapi_test_util.c to pass the Lustre mountpoint as an argument to the test function (as mmap_sanity.c does) instead of accessing it via a global variable, but this seems like a net improvement. Other than this, the code seems fairly similar (except to allow -e as an alias of -s) and looks like it could easily be shared.

            wc-triage WC Triage
            adilger Andreas Dilger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: