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>
#
# 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