summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-03-03 15:33:41 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2022-03-10 11:47:17 -0500
commit27198863323d70ebc5a4e73aced758af8d20b165 (patch)
tree621303d53d2910dd0b045f39f23967167f83368f
parentec5b1a14eab44b80264afb2ab9b42668fb613132 (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-xtests/generic/3021
-rwxr-xr-xtests/generic/3521
-rwxr-xr-xtests/generic/3612
-rwxr-xr-xtests/generic/3721
-rwxr-xr-xtests/generic/6471
5 files changed, 6 insertions, 0 deletions
diff --git a/tests/generic/302 b/tests/generic/302
index 01177602..0bb30e52 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 3f504a29..c8cca6ba 100755
--- a/tests/generic/352
+++ b/tests/generic/352
@@ -24,6 +24,7 @@ _begin_fstest auto clone
_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 b83aa598..1ce1236f 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 fa6edadc..d78a22df 100755
--- a/tests/generic/647
+++ b/tests/generic/647
@@ -27,6 +27,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"