On 22/03/03 07:37AM, Tadeusz Struk wrote: > On 3/3/22 06:56, Ritesh Harjani wrote: > > On 22/03/02 03:14PM, Tadeusz Struk wrote: > > > On 2/25/22 11:19, Tadeusz Struk wrote: > > > > > I can verify this sometime next week when I get back to it. > > > > > But thanks for reporting the issue :) > > > > > > > > Next week is perfectly fine. Thanks for looking into it. > > > > > > Hi Ritesh, > > > Did you have chance to look into this? > > > If you want I can send a patch that fixes the off by 1 calculation error. > > > > Hi Tadeusz, > > > > I wanted to look at that path a bit more before sending that patch. > > Last analysis by me was more of a cursory look at the kernel dmesg log which you > > had shared. > > > > In case if you want to pursue that issue and spend time on it, then feel free to > > do it. > > > > I got pulled into number of other things last week and this week. So didn't get > > a chance to look into it yet. I hope to look into this soon (if no one else > > picks up :)) > > I'm not familiar with the internals of ext4 implementation so I would rather > have someone who knows it look at it. No problem. I am willing to look into this anyways. btw, this issue could be seen easily with below cmd on non-extent ext4 FS. sudo xfs_io -f -c "truncate 0x4010040c000" -c "fsync" -c "fpunch 0x1000000 0xffefffff000" testfile -ritesh