]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: require no nodatacow for tests that exercise compression
authorFilipe Manana <fdmanana@suse.com>
Thu, 1 Feb 2024 18:03:47 +0000 (18:03 +0000)
committerZorro Lang <zlang@kernel.org>
Fri, 1 Mar 2024 11:24:16 +0000 (19:24 +0800)
commit15c084fe1137fedf870e4947ed259a89f1e9c62e
tree191f0d1f6870b44ed93e67dfd31cc86ae1fae05d
parent28928ea7af864f6f38133122c8f739e4f658f46a
btrfs: require no nodatacow for tests that exercise compression

Several test cases fail when running with MOUNT_OPTIONS="-o nodatacow"
because they attempt to use compression and compression can not be
enabled on nodatacow files (it fails with -EINVAL). So make sure those
tests are not run if nodatacow is specified in MOUNT_OPTIONS.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Disseldorp <ddiss@suse.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/btrfs/024
tests/btrfs/048
tests/btrfs/059
tests/btrfs/138
tests/btrfs/234
tests/btrfs/281