xfs
[Top] [All Lists]

[PATCH 6/6] filter: xfs_repair emits new corruption messagse

To: xfs@xxxxxxxxxxx
Subject: [PATCH 6/6] filter: xfs_repair emits new corruption messagse
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Wed, 23 Apr 2014 08:04:34 +1000
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1398204274-2113-1-git-send-email-david@xxxxxxxxxxxxx>
References: <1398204274-2113-1-git-send-email-david@xxxxxxxxxxxxx>
From: Dave Chinner <dchinner@xxxxxxxxxx>

xfs_repair now dumps metadata and CRC corruption information to the
output from the verifier infrastrcuture. Filter this out so that it
doesn't cause spurious test failures such as in xfs/030 and xfs/033.

Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx>
---
 common/repair | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/common/repair b/common/repair
index db160bb..3e73c1d 100644
--- a/common/repair
+++ b/common/repair
@@ -80,6 +80,9 @@ s/\s+- \d+:\d\d:\d\d:.*\n//g;
 # crc enabled filesystem output
 /XFS_CORRUPTION_ERROR/ && next;
 /^bad uuid/ && next;
+/^Metadata corruption detected/ && next;
+/^Metadata CRC error detected/ && next;
+/^agfl has bad CRC/ && next;
        print;'
 }
 
-- 
1.9.0

<Prev in Thread] Current Thread [Next in Thread>