]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: require no nodatacow for tests that exercise read repair
authorFilipe Manana <fdmanana@suse.com>
Thu, 1 Feb 2024 18:03:50 +0000 (18:03 +0000)
committerZorro Lang <zlang@kernel.org>
Fri, 1 Mar 2024 11:24:16 +0000 (19:24 +0800)
commit07e9d3d39c3cb43dfebbd809bda4f91c17235e63
tree242d75af50d92ae743950b438f0fc07dc0e746b0
parentd9d267ada5a0daf9a607382e934be97f22d825c5
btrfs: require no nodatacow for tests that exercise read repair

Several test cases that exercise the ability to detect corrupted data and
repair it, fail when "-o nodatacow" is passed to MOUNT_OPTIONS, because
that ability requires the existence of data checksums, and those are
disabled in nodatacow mode. So skip the tests when "-o nodatacow" is
present.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Disseldorp <ddiss@suse.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/btrfs/140
tests/btrfs/141
tests/btrfs/157
tests/btrfs/158
tests/btrfs/215
tests/btrfs/265
tests/btrfs/266
tests/btrfs/267
tests/btrfs/268
tests/btrfs/269
tests/btrfs/289