[PATCH] 198, 240: check presence of aiodio_sparce2

Dave Chinner david at fromorbit.com
Tue Nov 22 03:33:16 CST 2011


On Tue, Nov 22, 2011 at 03:14:34PM +0900, Hidetoshi Seto wrote:
> Use same trick with:
>   commit 4e9072472fbc56b9d4c8ee8094cc62ce793df9b7
>   Gracefully fail aio tests if they weren't built

Good idea, but given this check is now repeated in multiple places,
wrapping it in a "_require_aiodio" helper function is probably in
order.

It might also be useful to define AIODIO_SPARSE and AIODIO_SPARSE2
variables (similar to, say, XFS_IO_PROG) so that it doesn't have to
be open coded in all the tests....

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com




More information about the xfs mailing list