Anyone have test cases for SEEK_HOLE/SEEK_DATA?

Dave Chinner david at fromorbit.com
Tue Sep 18 01:40:39 CDT 2012


On Mon, Sep 17, 2012 at 10:04:34PM -0400, Theodore Ts'o wrote:
> 
> Does anyone have test cases for SEEK_HOLE/SEEK_DATA handy?  As near as I
> can tell xfstests doesn't have any tests for SEEK_HOLE/SEEK_DATA
> functionality, and I was hoping someone had some test programs and test
> sets already written.

Perhaps a cc to xfs at oss.sgi.com so the xfstests maintainers see the
question would be a sensible idea?

As it is, there are tests pending check-in that test
seek-data/seek-hole functionality - they were used to verify the
unwritten extent aware XFS implementation that recently went into
the kernel....

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list