]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
dmerror: exclude dmerror tests with mount -o dax
authorEric Sandeen <sandeen@redhat.com>
Thu, 19 May 2016 21:12:22 +0000 (16:12 -0500)
committerEryu Guan <eguan@redhat.com>
Wed, 15 Jun 2016 07:29:34 +0000 (15:29 +0800)
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/dmerror

index 5d2c1b68bcc09c040a82d547f0cb5654f8628035..6df87bd026aea9022ddfff78860618716e078bb2 100644 (file)
 #
 # 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