public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
From: Disha Goel <disgoel@linux.ibm.com>
To: fstests@vger.kernel.org
Cc: zlang@kernel.org, disgoel@linux.ibm.com
Subject: [PATCH v2] generic/730: skip test if DAX mount option is enabled
Date: Mon, 23 Mar 2026 18:10:05 +0530	[thread overview]
Message-ID: <20260323124006.85176-1-disgoel@linux.ibm.com> (raw)

The generic/730 test utilizes the scsi_debug driver to create a
synthetic SCSI block device. Since scsi_debug does not support
DAX capabilities, attempting to mount it with "-o dax" results
in failures (specifically on ext4).

Since this test is not DAX-related, exclude it when DAX is
specified in MOUNT_OPTIONS to avoid compatibility issues with
scsi_debug.

Signed-off-by: Disha Goel <disgoel@linux.ibm.com>
---
Changelog v1 -> v2:
Use _exclude_scratch_mount_option instead of an ext4-specific check.

Link to v1:
https://lore.kernel.org/all/20260318081812.47870-1-disgoel@linux.ibm.com/
---
 tests/generic/730 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/generic/730 b/tests/generic/730
index 6b5d3196..47073f42 100755
--- a/tests/generic/730
+++ b/tests/generic/730
@@ -19,7 +19,7 @@ _cleanup()
 
 . ./common/filter
 . ./common/scsi_debug
-
+_exclude_scratch_mount_option "dax"
 
 # We don't actually use the test device, but we need a block based fs
 _require_test
-- 
2.45.1


             reply	other threads:[~2026-03-23 12:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-23 12:40 Disha Goel [this message]
2026-03-31 19:52 ` [PATCH v2] generic/730: skip test if DAX mount option is enabled Zorro Lang
2026-04-01  7:38 ` Ojaswin Mujoo

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=20260323124006.85176-1-disgoel@linux.ibm.com \
    --to=disgoel@linux.ibm.com \
    --cc=fstests@vger.kernel.org \
    --cc=zlang@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox