[PATCH 1/3] common: add flink support to _require_xfs_io_command

Dave Chinner david at fromorbit.com
Thu Mar 13 06:10:10 CDT 2014


On Thu, Mar 13, 2014 at 03:13:03AM -0700, Christoph Hellwig wrote:
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---
>  common/rc |    4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/common/rc b/common/rc
> index 7f9db56..3bd4bcb 100644
> --- a/common/rc
> +++ b/common/rc
> @@ -1318,6 +1318,10 @@ _require_xfs_io_command()
>  		testio=`$XFS_IO_PROG -F -f -c "pwrite 0 20k" -c "fsync" \
>  			-c "fiemap -v" $testfile 2>&1`
>  		;;
> +	"flink" )
> +		testio=`$XFS_IO_PROG -T -F -c "flink $testfile" \
> +			$TEST_DIR 2>&1`
> +		;;
>  	*)
>  		testio=`$XFS_IO_PROG -c "$command help" 2>&1`
>  	esac

Looks good.

Reviewed-by: Dave Chinner <dchinner at redhat.com>

-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list