xfs: always rescan allegedly healthy per-ag metadata after repair
authorDarrick J. Wong <djwong@kernel.org>
Thu, 10 Aug 2023 14:48:09 +0000 (07:48 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 10 Aug 2023 14:48:09 +0000 (07:48 -0700)
commitd65eb8a63350d9344611567607d3b59dccb7e76e
treeab9fcb9234c629123668cbe774f6c23036ef3731
parent526aab5f5790e257cbdff1d1be89353257a3e451
xfs: always rescan allegedly healthy per-ag metadata after repair

After an online repair function runs for a per-AG metadata structure,
sc->sick_mask is supposed to reflect the per-AG metadata that the repair
function fixed.  Our next move is to re-check the metadata to assess
the completeness of our repair, so we don't want the rebuilt structure
to be excluded from the rescan just because the health system previously
logged a problem with the data structure.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/scrub/health.c