mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs/010,030: filter AG header CRC error warnings
Filter out the new AG header CRC verification warnings in xfs_repair since these tests were built before that existed. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
cfea24abcf
commit
43d4800333
+6
-1
@@ -113,7 +113,12 @@ _check_scratch_fs
|
||||
# nuke the finobt root, repair will have to regenerate from the inobt
|
||||
_corrupt_finobt_root $SCRATCH_DEV
|
||||
|
||||
_scratch_xfs_repair 2>&1 | _filter_repair_lostblocks
|
||||
filter_finobt_repair() {
|
||||
sed -e '/^agi has bad CRC/d' | \
|
||||
_filter_repair_lostblocks
|
||||
}
|
||||
|
||||
_scratch_xfs_repair 2>&1 | filter_finobt_repair
|
||||
|
||||
status=0
|
||||
exit
|
||||
|
||||
@@ -42,6 +42,8 @@ _check_ag()
|
||||
-e '/^bad agbno AGBNO for finobt/d' \
|
||||
-e '/^bad agbno AGBNO for rmapbt/d' \
|
||||
-e '/^bad agbno AGBNO for refcntbt/d' \
|
||||
-e '/^agf has bad CRC/d' \
|
||||
-e '/^agi has bad CRC/d' \
|
||||
-e '/^Missing reverse-mapping record.*/d' \
|
||||
-e '/^unknown block state, ag AGNO, block.*/d'
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user