public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfs/792: skip test if rextsize isn't congruent with operation length
@ 2025-04-09 15:15 Darrick J. Wong
  2025-04-10  5:36 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Darrick J. Wong @ 2025-04-09 15:15 UTC (permalink / raw)
  To: Zorro Lang; +Cc: fstests, xfs, Christoph Hellwig

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-04-10  5:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-09 15:15 [PATCH] xfs/792: skip test if rextsize isn't congruent with operation length Darrick J. Wong
2025-04-10  5:36 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox