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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs




[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux