]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
btrfs: skip tests incompatible with compression when compression is enabled
authorFilipe Manana <fdmanana@suse.com>
Wed, 12 Feb 2025 23:34:59 +0000 (23:34 +0000)
committerZorro Lang <zlang@kernel.org>
Fri, 14 Feb 2025 19:18:26 +0000 (03:18 +0800)
commit595c8433603d6bc781cfb417e39dcaaca5a51603
tree68bd43d07f84b169b34c4cfd0b2e822876d4aa5a
parent163a3e23ad0efe33131e0cae5678cbe8755eba48
btrfs: skip tests incompatible with compression when compression is enabled

We have several tests that fail when compression is enabled (MOUNT_OPTIONS
has "-o compress" or "-o compress-force"") because they expect a fixed
extent size and they trigger corruption by writing directly to a device,
therefore making them incompatible with compression.

So add a _require_no_compress call to them.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/btrfs/215
tests/btrfs/265
tests/btrfs/266
tests/btrfs/267
tests/btrfs/268
tests/btrfs/269
tests/btrfs/289
tests/btrfs/297