All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: fstests@vger.kernel.org
Cc: linux-btrfs@vger.kernel.org
Subject: [PATCH] fstests: add a btrfs read_repair group
Date: Tue, 17 May 2022 08:35:02 +0200	[thread overview]
Message-ID: <20220517063502.3017563-1-hch@lst.de> (raw)

Add a new group to run all tests the exercise the btrfs read_repair code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 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 e8e3477e..ef411b5e 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 66efc126..c680fe0a 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 ca164fdc..9fdcb2ab 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 c88cace9..58d01add 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 8f086ee8..71db861d 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 986c8069..c5e9c709 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 ae56f3e1..343178b7 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 cbcd60e0..0dcbce2a 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.30.2


             reply	other threads:[~2022-05-17  6:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-17  6:35 Christoph Hellwig [this message]
2022-05-17  7:54 ` [PATCH] fstests: add a btrfs read_repair group Zorro Lang
2022-05-17 13:24 ` Filipe Manana

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220517063502.3017563-1-hch@lst.de \
    --to=hch@lst.de \
    --cc=fstests@vger.kernel.org \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.