@@ -22,7 +22,8 @@ _begin_fstest auto quick read_repair fiemap
# Modify as appropriate.
_supported_fs btrfs
_require_scratch_dev_pool 2
-
+# No data checksums for NOCOW case, so can't detect corruption and repair data.
+_require_btrfs_no_nodatacow
_require_btrfs_command inspect-internal dump-tree
_require_odirect
# Overwriting data is forbidden on a zoned block device
@@ -22,6 +22,8 @@ _begin_fstest auto quick read_repair
# Modify as appropriate.
_supported_fs btrfs
+# No data checksums for NOCOW case, so can't detect corruption and repair data.
+_require_btrfs_no_nodatacow
_require_scratch_dev_pool 2
_require_btrfs_command inspect-internal dump-tree
@@ -30,6 +30,8 @@ _begin_fstest auto quick raid read_repair
# Modify as appropriate.
_supported_fs btrfs
+# No data checksums for NOCOW case, so can't detect corruption and repair data.
+_require_btrfs_no_nodatacow
_require_scratch_dev_pool 4
_require_btrfs_command inspect-internal dump-tree
_require_btrfs_fs_feature raid56
@@ -22,6 +22,8 @@ _begin_fstest auto quick raid scrub
# Modify as appropriate.
_supported_fs btrfs
+# No data checksums for NOCOW case, so can't detect corruption and repair data.
+_require_btrfs_no_nodatacow
_require_scratch_dev_pool 4
_require_btrfs_command inspect-internal dump-tree
_require_btrfs_fs_feature raid56
@@ -25,6 +25,8 @@ get_physical()
# Modify as appropriate.
_supported_fs btrfs
_require_scratch
+# No data checksums for NOCOW case, so can't detect corruption and repair data.
+_require_btrfs_no_nodatacow
# Overwriting data is forbidden on a zoned block device
_require_non_zoned_device $SCRATCH_DEV
@@ -19,6 +19,8 @@ _begin_fstest auto quick read_repair
_supported_fs btrfs
_require_scratch_dev_pool 3
+# No data checksums for NOCOW case, so can't detect corruption and repair data.
+_require_btrfs_no_nodatacow
_require_odirect
# Overwriting data is forbidden on a zoned block device
_require_non_zoned_device "${SCRATCH_DEV}"
@@ -18,6 +18,8 @@ _begin_fstest auto quick read_repair
# real QA test starts here
_supported_fs btrfs
+# No data checksums for NOCOW case, so can't detect corruption and repair data.
+_require_btrfs_no_nodatacow
_require_scratch_dev_pool 3
_require_odirect
@@ -20,6 +20,8 @@ _begin_fstest auto quick read_repair
_supported_fs btrfs
_require_scratch_dev_pool 3
+# No data checksums for NOCOW case, so can't detect corruption and repair data.
+_require_btrfs_no_nodatacow
_require_odirect
# Overwriting data is forbidden on a zoned block device
_require_non_zoned_device "${SCRATCH_DEV}"
@@ -16,6 +16,8 @@ _begin_fstest auto quick read_repair
_supported_fs btrfs
_require_scratch
_require_odirect
+# No data checksums for NOCOW case, so can't detect corruption and repair data.
+_require_btrfs_no_nodatacow
_require_non_zoned_device "${SCRATCH_DEV}" # no overwrites on zoned devices
_require_scratch_dev_pool 2
_scratch_dev_pool_get 2
@@ -20,6 +20,8 @@ _begin_fstest auto quick read_repair
_supported_fs btrfs
_require_scratch
_require_odirect
+# No data checksums for NOCOW case, so can't detect corruption and repair data.
+_require_btrfs_no_nodatacow
_require_non_zoned_device "${SCRATCH_DEV}" # no overwrites on zoned devices
_require_scratch_dev_pool 4
_scratch_dev_pool_get 4
@@ -16,6 +16,8 @@ _begin_fstest auto quick scrub repair
# Modify as appropriate.
_supported_fs btrfs
_require_scratch
+# No data checksums for NOCOW case, so can't detect corruption and repair data.
+_require_btrfs_no_nodatacow
_require_odirect
# Overwriting data is forbidden on a zoned block device