xfs-masters
[Top] [All Lists]

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

To: xfs-masters@xxxxxxxxxxx
Subject: [Bug 785] xfs_io doesn't correctly reallocate struct getbmapx in bmap_f
From: bugzilla-daemon@xxxxxxxxxxx
Date: Fri, 20 Mar 2009 02:21:34 -0500
Auto-submitted: auto-generated
In-reply-to: <bug-785-113@xxxxxxxxxxxxxxxx/bugzilla/>
References: <bug-785-113@xxxxxxxxxxxxxxxx/bugzilla/>
http://oss.sgi.com/bugzilla/show_bug.cgi?id=785





--- Comment #5 from Christoph Hellwig <hch@xxxxxxx>  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.

<Prev in Thread] Current Thread [Next in Thread>