From: Eric Sandeen Date: Thu, 19 May 2016 21:12:22 +0000 (-0500) Subject: dmerror: exclude dmerror tests with mount -o dax X-Git-Tag: v2022.05.01~2509 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=cf00fecc4f8e04284422750225511f8fd0e0af4b;p=xfstests-dev.git dmerror: exclude dmerror tests with mount -o dax Same as we do for dm flakey. dm can't do dax. Signed-off-by: Eric Sandeen Acked-by: Jeff Moyer Reviewed-by: Christoph Hellwig Signed-off-by: Eryu Guan --- diff --git a/common/dmerror b/common/dmerror index 5d2c1b68..6df87bd0 100644 --- a/common/dmerror +++ b/common/dmerror @@ -18,6 +18,11 @@ # # common functions for setting up and tearing down a dmerror device +echo $MOUNT_OPTIONS | grep -q dax +if [ $? -eq 0 ]; then + _notrun "Cannot run tests with DAX on dmerror devices" +fi + _dmerror_init() { local dm_backing_dev=$SCRATCH_DEV