Message ID | cover.1739379182.git.fdmanana@suse.com (mailing list archive) |
---|---|
Headers | show |
Series | fstests: btrfs: fix test failure when running with compression or nodatasum | expand |
From: Filipe Manana <fdmanana@suse.com>
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(-)
在 2025/2/13 10:04, fdmanana@kernel.org 写道: > From: Filipe Manana <fdmanana@suse.com> > > 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. Reviewed-by: Qu Wenruo <wqu@suse.com> Thanks, Qu > > 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(-) >
On 13/2/25 07:34, fdmanana@kernel.org wrote: > From: Filipe Manana <fdmanana@suse.com> > > 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. > Looks good. Thx. Reviewed-by: Anand Jain <anand.jain@oracle.com> Merged. -Anand > 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(-) >
From: Filipe Manana <fdmanana@suse.com> 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. 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: avoid test failure 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 | 2 -- 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, 91 insertions(+), 14 deletions(-)