[PATCH] exclude dmerror tests with mount -o dax

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



Same as we do for dm flakey.  dm can't do dax.

Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>
---

diff --git a/common/dmerror b/common/dmerror
index 004530d..42c075e 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
--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux