xfs
[Top] [All Lists]

[PATCH 3/5] xfstests: filter agno/ino repair output for finobt

To: xfs@xxxxxxxxxxx
Subject: [PATCH 3/5] xfstests: filter agno/ino repair output for finobt
From: Brian Foster <bfoster@xxxxxxxxxx>
Date: Fri, 2 May 2014 13:14:00 -0400
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1399050842-19633-1-git-send-email-bfoster@xxxxxxxxxx>
References: <1399050842-19633-1-git-send-email-bfoster@xxxxxxxxxx>
finobt enabled filesystems can generate new repair output. Update
_filter_repair() to ensure specific AG and inode numbers are filtered
from test output.

Signed-off-by: Brian Foster <bfoster@xxxxxxxxxx>
---
 common/repair | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/common/repair b/common/repair
index 3e73c1d..46ca9e0 100644
--- a/common/repair
+++ b/common/repair
@@ -83,6 +83,8 @@ s/\s+- \d+:\d\d:\d\d:.*\n//g;
 /^Metadata corruption detected/ && next;
 /^Metadata CRC error detected/ && next;
 /^agfl has bad CRC/ && next;
+# finobt enabled filesystem output
+s/(inode chunk) (\d+)\/(\d+)/AGNO\/INO/;
        print;'
 }
 
-- 
1.8.3.1

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