From 9d397adbc1573faff311dc3ab6459b27b2450ef0 Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Wed, 3 Jul 2024 14:21:51 -0700 Subject: [PATCH] xfs_spaceman: report health of metadir inodes too If the filesystem has a metadata directory tree, we should include those inodes in the health report. Signed-off-by: Darrick J. Wong --- spaceman/health.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spaceman/health.c b/spaceman/health.c index d88a7f6c6..c4d570363 100644 --- a/spaceman/health.c +++ b/spaceman/health.c @@ -324,6 +324,8 @@ report_bulkstat_health( if (agno != NULLAGNUMBER) xfrog_bulkstat_set_ag(breq, agno); + if (file->xfd.fsgeom.flags & XFS_FSOP_GEOM_FLAGS_METADIR) + breq->hdr.flags |= XFS_BULK_IREQ_METADIR; do { error = -xfrog_bulkstat(&file->xfd, breq); -- 2.50.1