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

fsx fallocate detection is buggy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • Lustre 2.14.0
    • None
    • None
    • 3
    • 9223372036854775807

      It seems fsx support on zfs is now broken.

      The test fsx performs is by doing fallocate of 1 byte that is optimized away for certain types of modes (like hole) in the client without even talking to the server. To proper trigger talking to the server we need to go at least one page away it seems.

      The other problem is even if fallocate call does fail - it might still leave file size increased and so we must perform truncate back to zero at all times to ensure correct operation of subsequent test.

      A number of these scenarios was explored in this test change over multiple changesets https://review.whamcloud.com/#/c/41200/ - check the janitor test results

            green Oleg Drokin
            green Oleg Drokin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: