FS/XFS testing framework
 help / color / mirror / Atom feed
From: Xiao Yang <yangx.jy@fujitsu.com>
To: <djwong@kernel.org>, <fstests@vger.kernel.org>
Cc: <zlang@kernel.org>, Xiao Yang <yangx.jy@fujitsu.com>
Subject: [PATCH] xfs/440: skip test if the dax mount option is enabled
Date: Fri, 23 Dec 2022 10:21:56 +0000	[thread overview]
Message-ID: <1671790916-13-1-git-send-email-yangx.jy@fujitsu.com> (raw)

With the enabled dax mount option, this test doesn't
work well because unwritten extents will not be allocated
according to the CoW extent size hint.

Try to fix the following error by the patch:
$./check xfs/440
    ...
     fsgqa 64 0 0
     Reflink and CoW
     root 0 0 0
    -fsgqa 1152 0 0
    +fsgqa 128 0 0
     Sync
     root 0 0 0
    ...

Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
---
 tests/xfs/440 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/xfs/440 b/tests/xfs/440
index 496ee04e..eb9fbd73 100755
--- a/tests/xfs/440
+++ b/tests/xfs/440
@@ -23,6 +23,7 @@ _require_quota
 _require_scratch_reflink
 _require_cp_reflink
 _require_user
+_exclude_scratch_mount_option dax
 
 echo "Format and mount"
 _scratch_mkfs > "$seqres.full" 2>&1
-- 
2.25.1


             reply	other threads:[~2022-12-23 10:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-23 10:21 Xiao Yang [this message]
2023-01-13  4:53 ` [PATCH] xfs/440: skip test if the dax mount option is enabled yangx.jy
2023-01-13 21:33   ` Darrick J. Wong
2023-01-18  8:24     ` Xiao Yang
2023-01-18  8:29     ` Xiao Yang

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=1671790916-13-1-git-send-email-yangx.jy@fujitsu.com \
    --to=yangx.jy@fujitsu.com \
    --cc=djwong@kernel.org \
    --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