From: "Darrick J. Wong" <djwong@kernel.org>
To: Zorro Lang <zlang@redhat.com>
Cc: fstests <fstests@vger.kernel.org>,
xfs <linux-xfs@vger.kernel.org>,
Christoph Hellwig <hch@infradead.org>
Subject: [PATCH] xfs/792: skip test if rextsize isn't congruent with operation length
Date: Wed, 9 Apr 2025 08:15:34 -0700 [thread overview]
Message-ID: <20250409151534.GI6274@frogsfrogsfrogs> (raw)
From: Darrick J. Wong <djwong@kernel.org>
This test writes 64k chunks and encodes the file content hash in the
golden output. Don't run it if the file allocation unit isn't congruent
with 64k. Fixes extsize=28k configurations.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
tests/xfs/792 | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/xfs/792 b/tests/xfs/792
index 6c7b2db1135625..b1436a113a152a 100755
--- a/tests/xfs/792
+++ b/tests/xfs/792
@@ -30,6 +30,7 @@ _require_xfs_io_error_injection "bmap_finish_one"
_scratch_mkfs >> $seqres.full
_scratch_mount
+_require_congruent_file_oplen $SCRATCH_MNT 65536
# Create original file
_pwrite_byte 0x58 0 1m $SCRATCH_MNT/a >> $seqres.full
next reply other threads:[~2025-04-09 15:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-09 15:15 Darrick J. Wong [this message]
2025-04-10 5:36 ` [PATCH] xfs/792: skip test if rextsize isn't congruent with operation length 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=20250409151534.GI6274@frogsfrogsfrogs \
--to=djwong@kernel.org \
--cc=fstests@vger.kernel.org \
--cc=hch@infradead.org \
--cc=linux-xfs@vger.kernel.org \
--cc=zlang@redhat.com \
/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