From: Darrick J. Wong Date: Wed, 9 Apr 2025 15:15:34 +0000 (-0700) Subject: xfs/792: skip test if rextsize isn't congruent with operation length X-Git-Tag: v2025.04.13~13 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bc7f79bd13d80d9d2a8501c21f0cd4e0ed587e6e;p=xfstests-dev.git xfs/792: skip test if rextsize isn't congruent with operation length 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 Reviewed-by: Christoph Hellwig Signed-off-by: Zorro Lang --- diff --git a/tests/xfs/792 b/tests/xfs/792 index 6c7b2db1..b1436a11 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