[PATCH 3/3] xfs/030: ignore lost rmapbt blocks

Darrick J. Wong
2017-01-28T17:38:30Z

From: Darrick J. Wong <darrick.wong@oracle.com>

When we destroy the AG0 headers, we also lose track of the rmapbt
blocks, which causes xfs_repair to complain about their unconnectedness.
Filter out the error message from the output.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
---
tests/xfs/030 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/xfs/030 b/tests/xfs/030
index 5c99d9e..15f41ed 100755
--- a/tests/xfs/030
+++ b/tests/xfs/030
@@ -60,7 +60,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 '/^Missing reverse-mapping record.*/d'
+ -e '/^Missing reverse-mapping record.*/d' \
+ -e '/^unknown block state, ag 0, block.*/d'
done
}