summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2026-09-08 23:03:17 -0700
committerCarlos Maiolino <cem@kernel.org>2026-09-10 16:26:36 +0200
commit0ae61c331ec552ad0c278c5c48a1c4ccb90b4bab (patch)
tree8105bf8e3c32bb354dfa2ecf60a73f6e41f01ba2
parent568a1588b906780dc3e9be56a61217afb4f7800e (diff)
downloadlinux-next-0ae61c331ec552ad0c278c5c48a1c4ccb90b4bab.tar.gz
linux-next-0ae61c331ec552ad0c278c5c48a1c4ccb90b4bab.zip
xfs: report healthy filesystem events in scrub stats
LOLLM also notices that I forgot to expose the "clean bill of health" scrub stats. Fix that. Cc: stable@vger.kernel.org # v6.9 Fixes: a1f3e0cca41036 ("xfs: update health status if we get a clean bill of health") Signed-off-by: Darrick J. Wong <djwong@kernel.org> Assisted-by: LOLLM # finding obvious bugs Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Carlos Maiolino <cem@kernel.org>
-rw-r--r--fs/xfs/scrub/stats.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/scrub/stats.c b/fs/xfs/scrub/stats.c
index f3f1fbfb6d99..da0c05ffe5cd 100644
--- a/fs/xfs/scrub/stats.c
+++ b/fs/xfs/scrub/stats.c
@@ -84,6 +84,7 @@ static const char *name_map[XFS_SCRUB_TYPE_NR] = {
[XFS_SCRUB_TYPE_RGSUPER] = "rgsuper",
[XFS_SCRUB_TYPE_RTRMAPBT] = "rtrmapbt",
[XFS_SCRUB_TYPE_RTREFCBT] = "rtrefcountbt",
+ [XFS_SCRUB_TYPE_HEALTHY] = "healthy",
};
/* Format the scrub stats into a text buffer, similar to pcp style. */