fstests: btrfs: test setting compression via xattr on nodatacow files
authorChung-Chiang Cheng <cccheng@synology.com>
Mon, 25 Apr 2022 04:22:26 +0000 (12:22 +0800)
committerZorro Lang <zlang@kernel.org>
Tue, 26 Apr 2022 18:54:01 +0000 (02:54 +0800)
commit987700db300da0d2a93fba25cfdcf912633e5621
tree7be80a7be0eae78504a3ec7c0c2a439f0d314f9f
parent7753e08d22e97d50a851f79c6304bcbf9b2949cc
fstests: btrfs: test setting compression via xattr on nodatacow files

Compression and nodatacow are mutually exclusive. Besides ioctl, there
is another way to setting compression via xattrs, and shouldn't produce
invalid combinations.

Signed-off-by: Chung-Chiang Cheng <cccheng@synology.com>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/btrfs/264 [new file with mode: 0755]
tests/btrfs/264.out [new file with mode: 0644]