summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-06-19 09:30:43 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-09-05 19:54:51 -0400
commitff27f9bd3a302bfeef604159d1a4ca9ff7ca7572 (patch)
tree71236231a8481d46b8ee492c7fb012828e529ef1 /tests
parent19ff0df5acfd785b1d94b6fed3edbba0c827d4aa (diff)
tests/generic/730: don't run on bcachefsHEADmaster
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/generic/7304
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/generic/730 b/tests/generic/730
index 988c47e1..015bdbfa 100755
--- a/tests/generic/730
+++ b/tests/generic/730
@@ -27,6 +27,10 @@ _require_test
_require_block_device $TEST_DEV
_require_scsi_debug
+# bcachefs uses the physical blocksize as the filesystem blocksize by default,
+# and being COW does not allow writes < filesystem blocksize
+[[ $FSTYP == bcachefs ]] && _notrun "bcachefs doesn't shutdown pagecache reads on device shutdown"
+
size=$(_small_fs_size_mb 256)
SCSI_DEBUG_DEV=`_get_scsi_debug_dev 512 512 0 $size`
test -b "$SCSI_DEBUG_DEV" || _notrun "Failed to initialize scsi debug device"