[2/4] filter: latest xfs_repair is more verbose
diff mbox

Message ID 1430776893-25158-3-git-send-email-david@fromorbit.com
State New
Headers show

Commit Message

Dave Chinner May 4, 2015, 10:01 p.m. UTC
From: Dave Chinner <dchinner@redhat.com>

It detects more errors, so we need to filter them out to prevent
golden image mismatches on successful recovery.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
---
 common/repair | 1 +
 1 file changed, 1 insertion(+)

Comments

Eric Sandeen May 4, 2015, 10:46 p.m. UTC | #1
On 5/4/15 5:01 PM, Dave Chinner wrote:
> From: Dave Chinner <dchinner@redhat.com>
> 
> It detects more errors, so we need to filter them out to prevent
> golden image mismatches on successful recovery.
> 
> Signed-off-by: Dave Chinner <dchinner@redhat.com>

Reviewed-by: Eric Sandeen <sandeen@redhat.com>

> ---
>  common/repair | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/common/repair b/common/repair
> index 7a99546..ce6d258 100644
> --- a/common/repair
> +++ b/common/repair
> @@ -83,6 +83,7 @@ s/\s+- \d+:\d\d:\d\d:.*\n//g;
>  /^Metadata corruption detected/ && next;
>  /^Metadata CRC error detected/ && next;
>  /^agfl has bad CRC/ && next;
> +/^bad CRC for inode/ && next;
>  # finobt enabled filesystem output
>  s/(inode chunk) (\d+)\/(\d+)/AGNO\/INO/;
>  # sunit/swidth reset messages
> 

--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch
diff mbox

diff --git a/common/repair b/common/repair
index 7a99546..ce6d258 100644
--- a/common/repair
+++ b/common/repair
@@ -83,6 +83,7 @@  s/\s+- \d+:\d\d:\d\d:.*\n//g;
 /^Metadata corruption detected/ && next;
 /^Metadata CRC error detected/ && next;
 /^agfl has bad CRC/ && next;
+/^bad CRC for inode/ && next;
 # finobt enabled filesystem output
 s/(inode chunk) (\d+)\/(\d+)/AGNO\/INO/;
 # sunit/swidth reset messages