[LU-14646] seek over file size and write causes stat reporting wrong file size Created: 28/Apr/21 Updated: 28/Feb/22 Resolved: 27/May/21 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.15.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Zhenyu Xu | Assignee: | Zhenyu Xu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 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 |
| Comments |
| Comment by Gerrit Updater [ 28/Apr/21 ] |
|
Bobi Jam (bobijam@hotmail.com) uploaded a new patch: https://review.whamcloud.com/43471 |
| Comment by Gerrit Updater [ 27/May/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43471/ |
| Comment by Peter Jones [ 27/May/21 ] |
|
Landed for 2.15 |
| Comment by John Hammond [ 28/Feb/22 ] |
|
bobijam could you describe how you found this bug? Were you running fsx? Could you share the command line you used? |
| Comment by Andreas Dilger [ 28/Feb/22 ] |
|
John, I believe that this was found running patch https://review.whamcloud.com/43473 " |