From 4c577efa1ee6245e198e81cf3e5343487672eabf Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Tue, 17 May 2022 08:35:02 +0200 Subject: [PATCH] fstests: add a btrfs read_repair group Add a new group to run all tests the exercise the btrfs read_repair code. Signed-off-by: Christoph Hellwig Reviewed-by: Filipe Manana Reviewed-by: Zorro Lang Signed-off-by: Zorro Lang --- doc/group-names.txt | 1 + tests/btrfs/140 | 2 +- tests/btrfs/141 | 2 +- tests/btrfs/142 | 2 +- tests/btrfs/143 | 2 +- tests/btrfs/150 | 2 +- tests/btrfs/157 | 2 +- tests/btrfs/215 | 2 +- 8 files changed, 8 insertions(+), 7 deletions(-) diff --git a/doc/group-names.txt b/doc/group-names.txt index e8e3477e9..ef411b5e3 100644 --- a/doc/group-names.txt +++ b/doc/group-names.txt @@ -88,6 +88,7 @@ punch fallocate FALLOC_FL_PUNCH_HOLE qgroup btrfs qgroup feature quota filesystem usage quotas raid btrfs RAID +read_repair btrfs error correction on read failure realtime XFS realtime volumes recoveryloop crash recovery loops redirect overlayfs redirect_dir feature diff --git a/tests/btrfs/140 b/tests/btrfs/140 index 66efc1265..c680fe0ae 100755 --- a/tests/btrfs/140 +++ b/tests/btrfs/140 @@ -12,7 +12,7 @@ # commit 2e949b0a5592 ("Btrfs: fix invalid dereference in btrfs_retry_endio") # . ./common/preamble -_begin_fstest auto quick +_begin_fstest auto quick read_repair # Import common functions. . ./common/filter diff --git a/tests/btrfs/141 b/tests/btrfs/141 index ca164fdc9..9fdcb2aba 100755 --- a/tests/btrfs/141 +++ b/tests/btrfs/141 @@ -13,7 +13,7 @@ # Commit 9d0d1c8b1c9d ("Btrfs: bring back repair during read") # . ./common/preamble -_begin_fstest auto quick +_begin_fstest auto quick read_repair # Import common functions. . ./common/filter diff --git a/tests/btrfs/142 b/tests/btrfs/142 index c88cace99..58d01addc 100755 --- a/tests/btrfs/142 +++ b/tests/btrfs/142 @@ -13,7 +13,7 @@ # commit 97bf5a5589aa ("Btrfs: fix segmentation fault when doing dio read") # . ./common/preamble -_begin_fstest auto quick +_begin_fstest auto quick read_repair # Import common functions. . ./common/filter diff --git a/tests/btrfs/143 b/tests/btrfs/143 index 8f086ee87..71db861d0 100755 --- a/tests/btrfs/143 +++ b/tests/btrfs/143 @@ -20,7 +20,7 @@ # commit 9d0d1c8b1c9d ("Btrfs: bring back repair during read") # . ./common/preamble -_begin_fstest auto quick +_begin_fstest auto quick read_repair # Import common functions. . ./common/filter diff --git a/tests/btrfs/150 b/tests/btrfs/150 index 986c80697..c5e9c7098 100755 --- a/tests/btrfs/150 +++ b/tests/btrfs/150 @@ -11,7 +11,7 @@ # Btrfs: fix kernel oops while reading compressed data # . ./common/preamble -_begin_fstest auto quick dangerous +_begin_fstest auto quick dangerous read_repair # Import common functions. . ./common/filter diff --git a/tests/btrfs/157 b/tests/btrfs/157 index ae56f3e1b..343178b7c 100755 --- a/tests/btrfs/157 +++ b/tests/btrfs/157 @@ -21,7 +21,7 @@ # Btrfs: make raid6 rebuild retry more # . ./common/preamble -_begin_fstest auto quick raid +_begin_fstest auto quick raid read_repair # Import common functions. . ./common/filter diff --git a/tests/btrfs/215 b/tests/btrfs/215 index cbcd60e02..0dcbce2a8 100755 --- a/tests/btrfs/215 +++ b/tests/btrfs/215 @@ -9,7 +9,7 @@ # 814723e0a55a ("btrfs: increment device corruption error in case of checksum error") # . ./common/preamble -_begin_fstest auto quick +_begin_fstest auto quick read_repair # Import common functions. . ./common/filter -- 2.49.0