[PATCH] xfstests: 251, 260: Use loopdev as fallback if $SCRATCH_DEV doesn't support FITRIM
Dave Chinner
david at fromorbit.com
Tue Oct 9 14:42:40 CDT 2012
On Tue, Oct 09, 2012 at 05:20:00PM +0200, Tomas Racek wrote:
> This patch adds an option to test FITRIM even if it's not supported on $SCRATCH_DEV.
>
> Also introduces _create_loop_device and _destroy_loop_device functions to
> unify loopback handling.
That should be a separate patch.
> (depends on patch "Use upstream version of fstrim...")
>
> Signed-off-by: Tomas Racek <tracek at redhat.com>
Write a new test that uses the loop device unconditionally and move
common functions into the relevant (or new) common.<foo> file.
Cheers,
Dave.
--
Dave Chinner
david at fromorbit.com
More information about the xfs
mailing list