Message ID | 20200817103718.10239-1-nborisov@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/3] btrfs/024: Remove no longer valid test | expand |
On 17.08.20 г. 13:37 ч., Nikolay Borisov wrote: > 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 <nborisov@suse.com> This patch is missing the removal of the respective output from 024.out. I'll be sending a fixed up version later. > --- > tests/btrfs/024 | 7 ------- > 1 file changed, 7 deletions(-) > > diff --git a/tests/btrfs/024 b/tests/btrfs/024 > index 0c2ffd7389ab..bcb9048da636 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 b/tests/btrfs/024 index 0c2ffd7389ab..bcb9048da636 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"
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 <nborisov@suse.com> --- tests/btrfs/024 | 7 ------- 1 file changed, 7 deletions(-)