summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/generic/7025
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/generic/702 b/tests/generic/702
index f93bc946..883c3c15 100755
--- a/tests/generic/702
+++ b/tests/generic/702
@@ -46,6 +46,11 @@ fiemap_test_file()
and(strtonum($5), 0x2000) ? "shared" : "not_shared" }'
}
+# bcachefs encoded (checksummed, compressed) extents are limited to 64k by
+# default, increase them so fragmentation doesn't cause a spurious test
+# failure:
+[[ $FSTYP == bcachefs ]] && MKFS_OPTIONS="$MKFS_OPTIONS --encoded_extent_max=128k"
+
_scratch_mkfs >> $seqres.full
_scratch_mount