[PATCH] xfstests 219: test fiemap

Eric Sandeen sandeen at sandeen.net
Sun Jul 26 21:48:05 CDT 2009


Christoph Hellwig wrote:
> On Sat, Jul 18, 2009 at 11:32:45AM -0500, Eric Sandeen wrote:
>> I suppose it'd be nice to have, though in this case the test program
>> also generates all the random patterns and does the checking ... the
>> fiemap calls are a relatively simple part of it ...
>>
>> Using xfs_io would be a bit like saying "xfs_io can already generate all
>> the calls that fsx generates, why not use it instead of a special test
>> program...." IMHO.
> 
> fiemap support in xfs_io would still be useful.  The big difference with
> fsx and co is that the I/O path is quite performance critical even for
> testcases, while for preallocation it's not.

Ok, we can add that.  Another patch.  :)

> But if it makes life a lot easier we can certainly drive these tests
> from a C program.

It's easier in the sense that it's done.  It'd be nice to get some
fiemap coverage & this is a quick route that seems to work.

Thanks,
-Eric




More information about the xfs mailing list