Skip to content

fstests: btrfs: fix test failures when running with compression or nodatasum

[email protected] fstests linux-btrfs 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 6 repliesIn review
  2. v18 patches 7 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8btrfs: skip tests incompatible with compression when compression is enabledtests/btrfs/215 tests/btrfs/265 tests/btrfs/266 +5 more+26 -10 replies
2/8btrfs/290: skip test if we are running with nodatacow mount optiontests/btrfs/290+12 -00 replies
3/8common/btrfs: add a _require_btrfs_no_nodatasum helpercommon/btrfs+7 -00 replies
4/8btrfs/333: skip the test when running with nodatacow or nodatasumtests/btrfs/333+5 -00 replies
5/8btrfs/205: skip test when running with nodatasum mount optiontests/btrfs/205+5 -01 reply
6/8btrfs: skip tests exercising data corruption and repair when using nodatasumtests/btrfs/140 tests/btrfs/141 tests/btrfs/157 +8 more+33 -111 reply
7/8btrfs/281: skip test when running with nodatasum mount optiontests/btrfs/281+2 -01 reply
8/8btrfs: skip tests that exercise compression property when using nodatasumtests/btrfs/048 tests/btrfs/059+6 -01 reply

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJohannes ThumshirnDavid SterbaQu WenruoAnand Jain
SeriesR-b R-b
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b R-b
8/8R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/8] fstests: btrfs: fix test failures when running with compression or nodatasum

From: Filipe Manana <[email protected]>

Several tests fail when running with the compression or nodatasum mount options. This patchset fixes that by either skipping the tests when those mount options are present or adapting the tests to able to run. Details in the changelogs.

V2: Updated patch 5/8, the chattr must stay as we really want to create
an inline compressed extent, otherwise it wouldn't be exercising cloning of an inline extent. So skip the test instead of nodatasum is present and add a comment about it.

Added some collect review tags.

Filipe Manana (8):
btrfs: skip tests incompatible with compression when compression is enabled btrfs/290: skip test if we are running with nodatacow mount option common/btrfs: add a _require_btrfs_no_nodatasum helper btrfs/333: skip the test when running with nodatacow or nodatasum btrfs/205: skip test when running with nodatasum mount option
btrfs: skip tests exercising data corruption and repair when using nodatasum btrfs/281: skip test when running with nodatasum mount option
btrfs: skip tests that exercise compression property when using nodatasum

 common/btrfs    |  7 +++++++
 tests/btrfs/048 |  3 +++
 tests/btrfs/059 |  3 +++
 tests/btrfs/140 |  4 +++-
 tests/btrfs/141 |  4 +++-
 tests/btrfs/157 |  4 +++-
 tests/btrfs/158 |  4 +++-
 tests/btrfs/205 |  5 +++++
 tests/btrfs/215 |  8 +++++++-
 tests/btrfs/265 |  7 ++++++-
 tests/btrfs/266 |  7 ++++++-
 tests/btrfs/267 |  7 ++++++-
 tests/btrfs/268 |  7 ++++++-
 tests/btrfs/269 |  7 ++++++-
 tests/btrfs/281 |  2 ++
 tests/btrfs/289 |  8 ++++++--
 tests/btrfs/290 | 12 ++++++++++++
 tests/btrfs/297 |  4 ++++
 tests/btrfs/333 |  5 +++++
 19 files changed, 96 insertions(+), 12 deletions(-)
Signature · 1 line
2.45.2