summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/health.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-09-01 10:46:47 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-10-22 16:40:40 -0700
commite1d5e23e0740c78889de079ff18bb92f90781627 (patch)
tree738f8ca7687279583ee0be7db878b5d891bb9202 /fs/xfs/scrub/health.h
parentf8a9105bd2c6451d27ac305898baf5a6a877b79a (diff)
xfs: update health status if we get a clean bill of healthindirect-health-reporting_2021-10-22
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__ */