summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/health.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-01-05 17:43:52 -0800
committerDarrick J. Wong <djwong@kernel.org>2021-03-25 17:08:24 -0700
commitc1a2d6dcf0febc906ce20a9575fcb64f99571f6e (patch)
tree062e916441ad8b9979e6d48e5b950aa03d69b0c3 /fs/xfs/scrub/health.h
parent908267af2127feadc4520c567aca270a399a01d4 (diff)
xfs: update health status if we get a clean bill of healthindirect-health-reporting_2021-03-25
If scrub finds that everything is ok with the filesystem, we need a way to tell the health tracking that it can let go of indirect health flags, since indirect flags only mean that at some point in the past we lost some context. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/scrub/health.h')
-rw-r--r--fs/xfs/scrub/health.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/scrub/health.h b/fs/xfs/scrub/health.h
index d0b938d3d028..ee80b663cfab 100644
--- a/fs/xfs/scrub/health.h
+++ b/fs/xfs/scrub/health.h
@@ -10,5 +10,6 @@ unsigned int xchk_health_mask_for_scrub_type(__u32 scrub_type);
void xchk_update_health(struct xfs_scrub *sc);
bool xchk_ag_btree_healthy_enough(struct xfs_scrub *sc, struct xfs_perag *pag,
xfs_btnum_t btnum);
+int xchk_health_record(struct xfs_scrub *sc);
#endif /* __XFS_SCRUB_HEALTH_H__ */