From 7b82ef0ff757bb84bb567a6ae84dff867ce99360 Mon Sep 17 00:00:00 2001 From: Nikolay Borisov Date: Mon, 17 Aug 2020 16:40:26 +0300 Subject: [PATCH] btrfs/024: Remove no longer valid test Kernel commit "btrfs: add missing check for nocow and compression inode flags" invalidates the "file compressed, fs mounted with nodatacow" mode due to doing more rigorous flags validation, just remove the test. Signed-off-by: Nikolay Borisov Reviewed-by: Marcos Paulo de Souza Signed-off-by: Eryu Guan --- tests/btrfs/024 | 7 ------- tests/btrfs/024.out | 3 --- 2 files changed, 10 deletions(-) diff --git a/tests/btrfs/024 b/tests/btrfs/024 index 0c2ffd73..bcb9048d 100755 --- a/tests/btrfs/024 +++ b/tests/btrfs/024 @@ -42,13 +42,6 @@ __workout() $XFS_IO_PROG -f -c "pwrite 0 1M" -c "fsync" $work_file | _filter_xfs_io } -echo "*** test nodatacow" -_scratch_mkfs > /dev/null 2>&1 -_scratch_mount "-o nodatacow" -__workout -_scratch_unmount -_check_scratch_fs - echo "*** test compress=no" _scratch_mkfs > /dev/null 2>&1 _scratch_mount "-o compress=no" diff --git a/tests/btrfs/024.out b/tests/btrfs/024.out index 7eacb0ac..33c4f493 100644 --- a/tests/btrfs/024.out +++ b/tests/btrfs/024.out @@ -1,7 +1,4 @@ QA output created by 024 -*** test nodatacow -wrote 1048576/1048576 bytes at offset 0 -XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) *** test compress=no wrote 1048576/1048576 bytes at offset 0 XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) -- 2.39.5