[PATCH 1/3] xfsqa: clean up 030 repair output

Dave Chinner david at fromorbit.com
Wed Apr 28 19:16:24 CDT 2010


With the new checks in xfs_repair, it outputs more information
about errors found than previously. This new output can be ignored
for the purposeѕ of this test, so filter it all out. This will
allow the test to run on new and old reapir binaries.

Signed-off-by: Dave Chinner <david at fromorbit.com>
---
 common.repair |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/common.repair b/common.repair
index ba42b8f..23a1ed6 100644
--- a/common.repair
+++ b/common.repair
@@ -72,6 +72,11 @@ s/        - generate realtime summary info and bitmap...\n//g;
 s/\s+- creating \d+ worker thread\(s\)\n//g;
 s/\s+- reporting progress in intervals of \d+ minutes\n//g;
 s/\s+- \d+:\d\d:\d\d:.*\n//g;
+# 3.1.0 extra accounting output
+/^agf_/ && next; # remove agf counts
+/^agi_/ && next; # remove agi counts
+/^sb_/ && next; # remove sb counts
+/^agi unlinked/ && next; # remove agi unlinked bucket warning
 	print;'
 }
 
-- 
1.5.6.5




More information about the xfs mailing list