]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfs/030: ignore lost rmapbt blocks
authorDarrick J. Wong <darrick.wong@oracle.com>
Sat, 28 Jan 2017 17:38:25 +0000 (09:38 -0800)
committerEryu Guan <eguan@redhat.com>
Sat, 4 Feb 2017 06:16:37 +0000 (14:16 +0800)
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>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/xfs/030

index 5c99d9edadb24784b44dde12d570e8680d7cf37f..15f41edd5b4f042848ab3dc75de7b10ce8f61c67 100755 (executable)
@@ -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
 }