diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-02-24 21:58:05 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-02-24 21:58:05 -0500 |
commit | a2d1d5923c2be06a332ec14c0fd16e3d44e3b466 (patch) | |
tree | 698509f6ae0128f30608497e7d911841b9b7c9aa | |
parent | 819551d33c00acec6124dd5dba97d2186ea5ba7f (diff) |
tests/generic/702: fix for bcahcefs
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
-rwxr-xr-x | tests/generic/702 | 5 |
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 |