[PATCH v2] xfstests:Make 225 compare map and fiemap at each block.

Josef Bacik josef at redhat.com
Thu May 19 13:19:16 CDT 2011


On Thu, May 19, 2011 at 03:21:05PM +0800, Yongqiang Yang wrote:
> Due to my carelessness, I induced a ugly patch to ext4's fiemap, but
> 225 could not find it.  So I looked into the 225 and could not figure out
> logic in compare_map_and_fiemap(), which seemed to mix extents with
> blocks.  Then I made 225 compare map and fiemap at each block, the new
> 225 can find another bug in ext4 with 1k block.
> 
> The new 225 works well on ext3, ext4 and xfs with both 1K and 4K block.
> 
> Signed-off-by: Yongqiang Yang <xiaoqiangnk at gmail.com>

Reviewed-by: Josef Bacik <josef at redhat.com>

Thanks,

Josef




More information about the xfs mailing list