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

fiemap returns EINVAL when applied past EOF

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      fiemap returns EINVAL when applied past EOF for a non-zero length file, which is not consistent with the EXT4 behaviour. It's also inconsistent with the Lustre behaviour for a zero length file. It's also inconsistent with the fiemap specification in linux/Documentation/filesystems/fiemap.txt.

      Attachments

        Activity

          [LU-18128] fiemap returns EINVAL when applied past EOF

          "Andrew Perepechko <andrew.perepechko@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/55991
          Subject: LU-18128 lov: fiemap returns EINVAL past EOF
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: e3e0484264007617fa2e607587a75e265eb57715

          gerrit Gerrit Updater added a comment - "Andrew Perepechko <andrew.perepechko@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/55991 Subject: LU-18128 lov: fiemap returns EINVAL past EOF Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: e3e0484264007617fa2e607587a75e265eb57715

          People

            panda Andrew Perepechko
            panda Andrew Perepechko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: