xfs/{010,030}: update repair output to deal with inobtcount feature

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>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Darrick J. Wong
2021-03-22 21:20:50 -07:00
committed by Eryu Guan
parent 973865af3c
commit 15bb2505e5
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -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
}
+2
View File
@@ -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'