]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
btrfs/333: skip the test when running with nodatacow or nodatasum
authorFilipe Manana <fdmanana@suse.com>
Wed, 12 Feb 2025 23:35:02 +0000 (23:35 +0000)
committerZorro Lang <zlang@kernel.org>
Fri, 14 Feb 2025 19:20:51 +0000 (03:20 +0800)
commite0ece7b8f4974a205cc21bed7996acac912a1509
tree8ceaea9f3e54b9b5ee81c22ef6a8828d8959693f
parent7d83ccfe3ef3175c4faf02da316b8406ee2373dd
btrfs/333: skip the test when running with nodatacow or nodatasum

Encoded writes are reject for inodes with the NODATASUM flag, so we must skip
the test if running with either the nodatasum or nodatacow (which implies
nodatasum) mount options.

So skip the test when under nodatacow and nodatasum mount options.

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/333