summaryrefslogtreecommitdiff
path: root/tests/generic
diff options
context:
space:
mode:
Diffstat (limited to 'tests/generic')
-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"