From: Eric Sandeen <sandeen@redhat.com>
To: fstests <fstests@vger.kernel.org>
Subject: [PATCH] exclude dmerror tests with mount -o dax
Date: Thu, 19 May 2016 16:12:22 -0500 [thread overview]
Message-ID: <b8729f80-6d09-6c57-1fb7-4303558fc9a3@redhat.com> (raw)
Same as we do for dm flakey. dm can't do dax.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---
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
next reply other threads:[~2016-05-19 21:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-19 21:12 Eric Sandeen [this message]
2016-05-20 14:41 ` [PATCH] exclude dmerror tests with mount -o dax Jeff Moyer
2016-05-23 14:59 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b8729f80-6d09-6c57-1fb7-4303558fc9a3@redhat.com \
--to=sandeen@redhat.com \
--cc=fstests@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.