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] generic/730: skip on ext4 when dax is enabled
Date: Wed, 18 Mar 2026 13:48:12 +0530	[thread overview]
Message-ID: <20260318081812.47870-1-disgoel@linux.ibm.com> (raw)

The generic/730 test utilizes the scsi_debug driver to create a
synthetic SCSI block device for testing. However, scsi_debug does
not support DAX capabilities.

When xfstests is configured with DAX mount options, ext4 strictly
validates the block device during the mount phase. This results
in a mount failure:
  EXT4-fs (sdc): DAX unsupported by block device.

Skip this test for ext4 when the 'dax' mount option is present to
avoid false failures.

Signed-off-by: Disha Goel <disgoel@linux.ibm.com>
---
 tests/generic/730 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/generic/730 b/tests/generic/730
index 6b5d3196..b42f5f63 100755
--- a/tests/generic/730
+++ b/tests/generic/730
@@ -20,6 +20,9 @@ _cleanup()
 . ./common/filter
 . ./common/scsi_debug
 
+if [ "$FSTYP" == "ext4" ] && echo "$MOUNT_OPTIONS" | grep -q "dax"; then
+	_notrun "ext4 does not support dax mounts on scsi_debug"
+fi
 
 # 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-18  8:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-18  8:18 Disha Goel [this message]
2026-03-20 15:56 ` [PATCH] generic/730: skip on ext4 when dax is enabled Zorro Lang
2026-03-23  6:07   ` Christoph Hellwig
2026-03-23 12:38     ` Disha Goel

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=20260318081812.47870-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