From: "Darrick J. Wong" <djwong@kernel.org>
To: djwong@kernel.org, guaneryu@gmail.com
Cc: Brian Foster <bfoster@redhat.com>,
linux-xfs@vger.kernel.org, fstests@vger.kernel.org, guan@eryu.me
Subject: [PATCH 1/3] xfs/{010,030}: update repair output to deal with inobtcount feature
Date: Mon, 22 Mar 2021 21:20:50 -0700 [thread overview]
Message-ID: <161647325010.3431131.10019758464943956019.stgit@magnolia> (raw)
In-Reply-To: <161647324459.3431131.16341235245632737552.stgit@magnolia>
From: Darrick J. Wong <djwong@kernel.org>
Update both of these tests to filter out the new error messages from
repair when the inode btree counter feature is enabled.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Brian Foster <bfoster@redhat.com>
---
tests/xfs/010 | 3 ++-
tests/xfs/030 | 2 ++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/xfs/010 b/tests/xfs/010
index 1f9bcdff..95cc2555 100755
--- a/tests/xfs/010
+++ b/tests/xfs/010
@@ -113,7 +113,8 @@ _check_scratch_fs
_corrupt_finobt_root $SCRATCH_DEV
filter_finobt_repair() {
- sed -e '/^agi has bad CRC/d' | \
+ sed -e '/^agi has bad CRC/d' \
+ -e '/^bad finobt block/d' | \
_filter_repair_lostblocks
}
diff --git a/tests/xfs/030 b/tests/xfs/030
index 04440f9c..906d9019 100755
--- a/tests/xfs/030
+++ b/tests/xfs/030
@@ -44,6 +44,8 @@ _check_ag()
-e '/^bad agbno AGBNO for refcntbt/d' \
-e '/^agf has bad CRC/d' \
-e '/^agi has bad CRC/d' \
+ -e '/^bad inobt block count/d' \
+ -e '/^bad finobt block count/d' \
-e '/^Missing reverse-mapping record.*/d' \
-e '/^bad levels LEVELS for [a-z]* root.*/d' \
-e '/^unknown block state, ag AGNO, block.*/d'
next prev parent reply other threads:[~2021-03-23 4:21 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-23 4:20 [PATCHSET 0/3] fstests: add inode btree blocks counters to the AGI header Darrick J. Wong
2021-03-23 4:20 ` Darrick J. Wong [this message]
2021-03-23 4:20 ` [PATCH 2/3] xfs/122: embiggen struct xfs_agi size for inobtcount feature Darrick J. Wong
2021-03-23 4:21 ` [PATCH 3/3] xfs: test inobtcount upgrade Darrick J. Wong
2021-03-23 14:13 ` Brian Foster
2021-03-23 18:54 ` Darrick J. Wong
2021-03-24 12:57 ` Brian Foster
2021-03-26 2:36 ` Darrick J. Wong
2021-03-27 14:35 ` Brian Foster
2021-03-28 15:12 ` Eryu Guan
2021-03-28 15:14 ` [PATCHSET 0/3] fstests: add inode btree blocks counters to the AGI header Eryu Guan
-- strict thread matches above, loose matches on Subject: below --
2021-02-13 5:33 [PATCHSET RFC " Darrick J. Wong
2021-02-13 5:33 ` [PATCH 1/3] xfs/{010,030}: update repair output to deal with inobtcount feature Darrick J. Wong
2021-02-25 7:38 ` Christoph Hellwig
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=161647325010.3431131.10019758464943956019.stgit@magnolia \
--to=djwong@kernel.org \
--cc=bfoster@redhat.com \
--cc=fstests@vger.kernel.org \
--cc=guan@eryu.me \
--cc=guaneryu@gmail.com \
--cc=linux-xfs@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).