[PATCH] xfstests 219: test fiemap
Christoph Hellwig
hch at infradead.org
Sat Jul 18 17:19:48 CDT 2009
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.
But if it makes life a lot easier we can certainly drive these tests
from a C program.
More information about the xfs
mailing list