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

David Chinner
2007-05-12T07:56:43Z

On Fri, May 11, 2007 at 07:48:26AM -0700, Jeremy Fitzhardinge wrote:
> 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

Ok, thanks for confirming the cause of the regression. I'll post a patch
when I've got something for you to try.

Cheers,

Dave.
--
Dave Chinner
Principal Engineer
SGI Australian Software Group