[PATCH 1/2] xfstests: fix fiemap-tester for fewer extents returned
Alex Elder
aelder at sgi.com
Fri Feb 25 14:47:47 CST 2011
On Thu, 2011-02-24 at 16:02 -0600, Eric Sandeen wrote:
> If the fiemap call returns fewer extents than asked for,
> the fiemap tester gets confused. If this happens, advance,
> and call fiemap again for the next offset.
>
> XFS exposed this because if a file is all-delalloc, it was
> only returning 1 mapped extent (this is probably also a buglet).
Looks good. I presume you mean we should get back
an array of delalloc extents, right? I started
looking at why only one is returned but haven't
found it yet.
Reviewed-by: Alex Elder <aelder at sgi.com>
> Signed-off-by: Eric Sandeen <sandeen at redhat.com>
More information about the xfs
mailing list