diff mbox

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

Message ID 148562510529.30594.2372809333277654802.stgit@birch.djwong.org (mailing list archive)
State New, archived
Headers show

Commit Message

Darrick J. Wong Jan. 28, 2017, 5:38 p.m. UTC
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(-)



--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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
 }