Re: 2.6.21-git10/11: files getting truncated on xfs? or maybe an nlink problem?

Jeremy Fitzhardinge
2007-05-11T14:48:33Z

David Chinner wrote:
>> Yes, that does look like a good candidate. Should I try to
>> before-and-after this change?
>>
>
> Yes please!
>

OK, definite result. Before ba87ea699ebd9dd577bf055ebc4a98200e337542:
all OK. After: truncated files.

I also got a bmap of a particular truncated file,
linux-clone-test-1/.hg/store/00manifest.i, diffing before with after:

--rw-r--r-- 1 root root 3558208 May 11 01:16 /home/jeremy/hg/linux-clone-test-1/.hg/store/00manifest.i
+-rw-r--r-- 1 root root 3541760 May 11 01:16 /home/jeremy/hg/linux-clone-test-1/.hg/store/00manifest.i

16: [6144..6271]: 18141808..18141935 2 (2413168..2413295) 128
17: [6272..6399]: 18140608..18140735 2 (2411968..2412095) 128
18: [6400..6911]: 18136464..18136975 2 (2407824..2408335) 512
- 19: [6912..6951]: 18136336..18136375 2 (2407696..2407735) 40
+ 19: [6912..6919]: 18136336..18136343 2 (2407696..2407703) 8

J