[xfs-masters] [Bug 785] xfs_io doesn't correctly reallocate struct getbmapx in bmap_f

bugzilla-daemon at oss.sgi.com bugzilla-daemon at oss.sgi.com
Fri Mar 20 02:21:34 CDT 2009


http://oss.sgi.com/bugzilla/show_bug.cgi?id=785





--- Comment #5 from Christoph Hellwig <hch at xfs.org>  2009-03-20 02:21:33 CST ---
Thanks a lot for the testcase.  I understand the problem now.

XFS_IOC_FSGETXATTR only counts actually allocated extents, but for each
allocated extent we may have a hole inbetween that is not allocated.

I've modified your patch a little bit to add comments what's going on and
adjust
the numbers a bit.

I've also created adopted your testcase for xfsqa so that we can
regression-test this.

-- 
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the xfs-masters mailing list