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

Lustre does not allow FIEMAP on directories

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • Lustre 2.10.1
    • 9223372036854775807

    Description

      Even though ext4 allows FIEMAP on directories, Lustre does not, returning -EOPNOTSUPP.

      It should mostly be a matter of sending the FIEMAP RPC to the MDS instead of the OSS.

      Some care would be needed for striped directories, possibly using FIEMAP_FL_DEVICE_ORDER in this case, rather than forcing the LMV to interleave all of the blocks. However, since directories will already typically be very fragmented, it won't make the output much worse if DEVICE_ORDER is not used.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: