[PATCH 0/4] btrfs: make test pass or skip them when using nodatacow

fdmanana
2024-02-01T18:04:01Z

Several test btrfs test cases fail when using "-o nodatacow" in MOUNT_OPTIONS.
So fix that by either adapting the tests to pass or skip them if there's no
way for them to succeed in nodatacow mode.

Filipe Manana (4):
btrfs: require no nodatacow for tests that exercise compression
btrfs/173: make the test work when mounting with nodatacow
btrfs/299: skip test if we were mounted with nodatacow
btrfs: require no nodatacow for tests that exercise read repair

tests/btrfs/024 | 1 +
tests/btrfs/048 | 1 +
tests/btrfs/059 | 1 +
tests/btrfs/138 | 1 +
tests/btrfs/140 | 3 ++-
tests/btrfs/141 | 2 ++
tests/btrfs/157 | 2 ++
tests/btrfs/158 | 2 ++
tests/btrfs/173 | 5 +++++
tests/btrfs/215 | 2 ++
tests/btrfs/234 | 1 +
tests/btrfs/265 | 2 ++
tests/btrfs/266 | 2 ++
tests/btrfs/267 | 2 ++
tests/btrfs/268 | 2 ++
tests/btrfs/269 | 2 ++
tests/btrfs/281 | 1 +
tests/btrfs/289 | 2 ++
tests/btrfs/299 | 3 +++
19 files changed, 36 insertions(+), 1 deletion(-)

--
2.40.1