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

seek over file size and write causes stat reporting wrong file size

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.15.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      A test case of fsx write upon a FLR file report wrong file size.

      lfs mirror extend -N -c-1 /mnt/lustre/f: 0
      lfs mirror verify -v /mnt/lustre/f: 0
      000251 1619532293.211780 write      0x03a3e4 thru 0x03ffff	(0x05c1c bytes)
      Size error: expected 0x40000 stat 0x127c1 seek 0x40000
      

      Attachments

        Issue Links

          Activity

            [LU-14646] seek over file size and write causes stat reporting wrong file size

            John, I believe that this was found running patch https://review.whamcloud.com/43473 "LU-14642 test: add fsx mirror file test mode".

            adilger Andreas Dilger added a comment - John, I believe that this was found running patch https://review.whamcloud.com/43473 " LU-14642 test: add fsx mirror file test mode ".
            jhammond John Hammond added a comment -

            bobijam could you describe how you found this bug? Were you running fsx? Could you share the command line you used?

            jhammond John Hammond added a comment - bobijam could you describe how you found this bug? Were you running fsx? Could you share the command line you used?
            pjones Peter Jones added a comment -

            Landed for 2.15

            pjones Peter Jones added a comment - Landed for 2.15

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43471/
            Subject: LU-14646 flr: write a FLR file downgrade SoM
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: f437134e80a1b320e575d774061e693042f3eb4c

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43471/ Subject: LU-14646 flr: write a FLR file downgrade SoM Project: fs/lustre-release Branch: master Current Patch Set: Commit: f437134e80a1b320e575d774061e693042f3eb4c

            Bobi Jam (bobijam@hotmail.com) uploaded a new patch: https://review.whamcloud.com/43471
            Subject: LU-14646 flr: write a FLR file downgrade SoM
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: cac0a47b5b26bf56ba02e01146e7289185f96468

            gerrit Gerrit Updater added a comment - Bobi Jam (bobijam@hotmail.com) uploaded a new patch: https://review.whamcloud.com/43471 Subject: LU-14646 flr: write a FLR file downgrade SoM Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: cac0a47b5b26bf56ba02e01146e7289185f96468

            People

              bobijam Zhenyu Xu
              bobijam Zhenyu Xu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: