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

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



On 13/2/25 07:34, fdmanana@xxxxxxxxxx wrote:
From: Filipe Manana <fdmanana@xxxxxxxx>

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@xxxxxxxxxx>

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(-)






[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux