[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:
Related
is related to LU-14642 transfer layout version to OST object... Resolved
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
Subject: LU-14646 flr: write a FLR file downgrade SoM
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: cac0a47b5b26bf56ba02e01146e7289185f96468

Comment by Gerrit Updater [ 27/May/21 ]

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

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 "LU-14642 test: add fsx mirror file test mode".

Generated at Sat Feb 10 03:11:33 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.