fstests: add a btrfs read_repair group
authorChristoph Hellwig <hch@lst.de>
Tue, 17 May 2022 06:35:02 +0000 (08:35 +0200)
committerZorro Lang <zlang@kernel.org>
Sat, 21 May 2022 18:51:35 +0000 (02:51 +0800)
Add a new group to run all tests the exercise the btrfs read_repair code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
doc/group-names.txt
tests/btrfs/140
tests/btrfs/141
tests/btrfs/142
tests/btrfs/143
tests/btrfs/150
tests/btrfs/157
tests/btrfs/215

index e8e3477e9b1e29d149fad7f77b1a23aca0cee27b..ef411b5e3613e974b21f4ee427fcd09fae759fc4 100644 (file)
@@ -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
index 66efc126593c739e4b3c4313f4a5d506636fb871..c680fe0aef4153323eec36c7389d3603b4e4f537 100755 (executable)
@@ -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
index ca164fdc95e5ebe8d64135110399b61b2007c335..9fdcb2aba6837f79858319bd942f8c9cc30ae43a 100755 (executable)
@@ -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
index c88cace99629d5f0752e3413d943135bcb7e158e..58d01addc4410b22a9accbc5a724664be7f15a44 100755 (executable)
@@ -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
index 8f086ee87525dd63fbf81a9110efa69f750672ab..71db861d05718320a0d41a1a6ebcbf5e8204a077 100755 (executable)
@@ -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
index 986c80697f15e104da7870be0fc10cbfe6dc1b6b..c5e9c709804fe797b79e1f16ed521d707c4ee13d 100755 (executable)
@@ -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
index ae56f3e1bdb84bcd82d99ec8834867bdee1102b5..343178b7c06b1b1a49afbbf2514914b154c174fc 100755 (executable)
@@ -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
index cbcd60e020e4e92bed55c7bb4e67987a9688833b..0dcbce2a888ecdb8792f4dee288dd4cfb429ee15 100755 (executable)
@@ -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