summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/health.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2022-07-14 11:06:27 -0700
committerDarrick J. Wong <djwong@kernel.org>2022-11-09 19:07:33 -0800
commit0a62d17b13492e9cd32092fdf5e0ec493558e2eb (patch)
tree6de00d7ed3578147c4f9c08e9ec16ccc25173c9d /fs/xfs/scrub/health.h
parentf18d2034841934b5cdc65a4386b6705d0e6f5e90 (diff)
xfs: update health status if we get a clean bill of healthindirect-health-reporting_2022-11-09
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__ */