diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-03-03 15:33:41 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-02-16 19:47:39 -0500 |
commit | 2be753c3858e9485cd2c01f059fe9cc147701de0 (patch) | |
tree | 75f384e858a8bbd303cf2d3905465f6379f6fa94 | |
parent | 2b5258e7ad70f0f063e16b97469f64e26327608c (diff) |
Disable a few tests on bcachefs
bcachefs extents are generally smaller on other filesystems due to
checksum granularity being the same as extent size, which breaks
assumptions made by a few tests. Ideally we'd like to get these working
on bcachefs, but for now we're just disabling them
generic/647 also doesn't really apply to bcachefs - bcachefs has
explicit locking between dio and buffered/mmapped IO, and the test then
fails because those IOs aren't done concurrently.
-rwxr-xr-x | tests/generic/302 | 1 | ||||
-rwxr-xr-x | tests/generic/352 | 1 | ||||
-rwxr-xr-x | tests/generic/361 | 2 | ||||
-rwxr-xr-x | tests/generic/372 | 1 | ||||
-rwxr-xr-x | tests/generic/647 | 1 |
5 files changed, 6 insertions, 0 deletions
diff --git a/tests/generic/302 b/tests/generic/302 index 9c305abe..40ee85f6 100755 --- a/tests/generic/302 +++ b/tests/generic/302 @@ -21,6 +21,7 @@ _require_scratch_reflink _require_cp_reflink _require_xfs_io_command "fiemap" _require_odirect +[ $FSTYP = "bcachefs" ] && _notrun "not supported on bcachefs - bcachefs extents are smaller" echo "Format and mount" _scratch_mkfs > $seqres.full 2>&1 diff --git a/tests/generic/352 b/tests/generic/352 index acc17dac..be2d75bf 100755 --- a/tests/generic/352 +++ b/tests/generic/352 @@ -24,6 +24,7 @@ _begin_fstest auto clone fiemap _supported_fs generic _require_scratch_reflink _require_xfs_io_command "fiemap" +[ $FSTYP = "bcachefs" ] && _notrun "not supported on bcachefs - bcachefs extents are smaller" _scratch_mkfs > /dev/null 2>&1 _scratch_mount diff --git a/tests/generic/361 b/tests/generic/361 index d76d2635..fdf84607 100755 --- a/tests/generic/361 +++ b/tests/generic/361 @@ -32,6 +32,8 @@ _require_block_device $SCRATCH_DEV _require_loop _require_sparse_files +[ $FSTYP = "bcachefs" ] && _notrun "buggy on bcachefs" + # create a small filesystem to hold another filesystem image _scratch_mkfs_sized $((512 * 1024 * 1024)) >>$seqres.full 2>&1 _scratch_mount diff --git a/tests/generic/372 b/tests/generic/372 index dac51dec..3239587d 100755 --- a/tests/generic/372 +++ b/tests/generic/372 @@ -29,6 +29,7 @@ _require_scratch_reflink _require_xfs_io_command "falloc" _require_xfs_io_command "fiemap" _require_scratch_explicit_shared_extents +[ $FSTYP = "bcachefs" ] && _notrun "not supported on bcachefs - bcachefs extents are smaller" echo "Format and mount" _scratch_mkfs > $seqres.full 2>&1 diff --git a/tests/generic/647 b/tests/generic/647 index 8484fa8d..b30394b1 100755 --- a/tests/generic/647 +++ b/tests/generic/647 @@ -26,6 +26,7 @@ _supported_fs generic _require_test _require_odirect _require_test_program mmap-rw-fault +[ $FSTYP = "bcachefs" ] && _notrun "not supported on bcachefs - bcachefs has explicit buffered/dio locking" echo "Silence is golden" |