From abc57c0daaf62c4f106d2e3852564d82adc185ec Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Wed, 13 Dec 2023 14:34:45 -0800 Subject: generic/735: skip this test if we cannot finsert at pos 1M Add a _require_congruent_file_oplen to screen out filesystem configurations that can't start a finsert operation at file pos 1M because the fs block size isn't congruent with 1048576. For example, xfs realtime with 28k rt extents. Signed-off-by: "Darrick J. Wong" Reviewed-by: Christoph Hellwig Reviewed-by: Zorro Lang Signed-off-by: Zorro Lang --- tests/generic/735 | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/generic/735 b/tests/generic/735 index 44b45477..75b23d5e 100755 --- a/tests/generic/735 +++ b/tests/generic/735 @@ -25,6 +25,7 @@ dev_size=$((80 * 1024 * 1024)) _scratch_mkfs_sized $dev_size >>$seqres.full 2>&1 || _fail "mkfs failed" _scratch_mount +_require_congruent_file_oplen $SCRATCH_MNT 1048576 # finsert at 1M file_blksz="$(_get_file_block_size ${SCRATCH_MNT})" # Reserve 1M space -- cgit v1.2.3