diff mbox series

[2/2] xfs/010: filter out bad finobt levels complaint

Message ID 161958292995.3452247.16052548384852587095.stgit@magnolia (mailing list archive)
State New, archived
Headers show
Series fstests: test xfsprogs regression fixed in 5.12 | expand

Commit Message

Darrick J. Wong April 28, 2021, 4:08 a.m. UTC
From: Darrick J. Wong <djwong@kernel.org>

Since we're adding to xfs_repair the ability to warn about bad finobt
levels, filter that out.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
---
 tests/xfs/010 |    1 +
 1 file changed, 1 insertion(+)

Comments

Brian Foster April 28, 2021, 5:38 p.m. UTC | #1
On Tue, Apr 27, 2021 at 09:08:50PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@kernel.org>
> 
> Since we're adding to xfs_repair the ability to warn about bad finobt
> levels, filter that out.
> 
> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
> ---

Reviewed-by: Brian Foster <bfoster@redhat.com>

>  tests/xfs/010 |    1 +
>  1 file changed, 1 insertion(+)
> 
> 
> diff --git a/tests/xfs/010 b/tests/xfs/010
> index 95cc2555..a9394077 100755
> --- a/tests/xfs/010
> +++ b/tests/xfs/010
> @@ -114,6 +114,7 @@ _corrupt_finobt_root $SCRATCH_DEV
>  
>  filter_finobt_repair() {
>  	sed -e '/^agi has bad CRC/d' \
> +	    -e '/^bad levels/d' \
>  	    -e '/^bad finobt block/d' | \
>  		_filter_repair_lostblocks
>  }
>
diff mbox series

Patch

diff --git a/tests/xfs/010 b/tests/xfs/010
index 95cc2555..a9394077 100755
--- a/tests/xfs/010
+++ b/tests/xfs/010
@@ -114,6 +114,7 @@  _corrupt_finobt_root $SCRATCH_DEV
 
 filter_finobt_repair() {
 	sed -e '/^agi has bad CRC/d' \
+	    -e '/^bad levels/d' \
 	    -e '/^bad finobt block/d' | \
 		_filter_repair_lostblocks
 }