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 <sandeen@redhat.com>
Acked-by: Jeff Moyer <jmoyer@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
Eric Sandeen
2016-05-19 16:12:22 -05:00
committed by Eryu Guan
parent ca7c8bcbe8
commit cf00fecc4f
+5
View File
@@ -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