public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
* [patch, v2] dmflakey: don't run for dax mounts
@ 2015-12-04 20:54 Jeff Moyer
  0 siblings, 0 replies; only message in thread
From: Jeff Moyer @ 2015-12-04 20:54 UTC (permalink / raw)
  To: fstests

Hi,

There is no sense running dmflakey tests with the dax mount option,
since dmflakey doesn't support it.  Mark these as _notrun so that it is
clear that this type of testing is not happenning for dax.

Suggested-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>

diff --git a/common/dmflakey b/common/dmflakey
index dec85c1..5a45d14 100644
--- a/common/dmflakey
+++ b/common/dmflakey
@@ -21,6 +21,11 @@
 FLAKEY_ALLOW_WRITES=0
 FLAKEY_DROP_WRITES=1
 
+echo $MOUNT_OPTIONS | grep -q dax
+if [ $? -eq 0 ]; then
+	_notrun "Cannot run tests with DAX on dmflakey devices"
+fi
+
 _init_flakey()
 {
 	local BLK_DEV_SIZE=`blockdev --getsz $SCRATCH_DEV`

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-04 20:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-04 20:54 [patch, v2] dmflakey: don't run for dax mounts Jeff Moyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox