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

Brian Foster
2021-04-28T17:39:31Z

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
> }
>