xfs_spaceman: report the health of quota counts
Report the health of quota counts.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
diff --git a/man/man2/ioctl_xfs_fsgeometry.2 b/man/man2/ioctl_xfs_fsgeometry.2
index 6b7c83d..f59a6e8 100644
--- a/man/man2/ioctl_xfs_fsgeometry.2
+++ b/man/man2/ioctl_xfs_fsgeometry.2
@@ -256,6 +256,9 @@
.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 d83c5cc..3318f9d 100644
--- a/spaceman/health.c
+++ b/spaceman/health.c
@@ -72,6 +72,10 @@
.descr = "realtime summary",
.has_fn = has_realtime,
},
+ {
+ .mask = XFS_FSOP_GEOM_SICK_QUOTACHECK,
+ .descr = "quota counts",
+ },
{0},
};