From 5afa31d92065aeb972968d9a8fe7956847f44040 Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Mon, 22 Apr 2024 10:01:15 -0700 Subject: [PATCH] xfs_spaceman: report the health of quota counts Report the health of quota counts. Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig --- man/man2/ioctl_xfs_fsgeometry.2 | 3 +++ spaceman/health.c | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/man/man2/ioctl_xfs_fsgeometry.2 b/man/man2/ioctl_xfs_fsgeometry.2 index 6b7c83da7..f59a6e8a6 100644 --- a/man/man2/ioctl_xfs_fsgeometry.2 +++ b/man/man2/ioctl_xfs_fsgeometry.2 @@ -256,6 +256,9 @@ Free space bitmap for the realtime device. .TP .B XFS_FSOP_GEOM_SICK_RT_SUMMARY Free space summary for the realtime device. +.TP +.B XFS_FSOP_GEOM_SICK_QUOTACHECK +Quota resource usage counters. .RE .SH RETURN VALUE diff --git a/spaceman/health.c b/spaceman/health.c index d83c5ccd9..3318f9d1a 100644 --- a/spaceman/health.c +++ b/spaceman/health.c @@ -72,6 +72,10 @@ static const struct flag_map fs_flags[] = { .descr = "realtime summary", .has_fn = has_realtime, }, + { + .mask = XFS_FSOP_GEOM_SICK_QUOTACHECK, + .descr = "quota counts", + }, {0}, }; -- 2.39.5