]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commitdiff
xfs_spaceman: report health of inode link counts
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Apr 2024 17:01:16 +0000 (10:01 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:42 +0000 (11:37 -0700)
Report on the health of the inode link counts.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
spaceman/health.c

index 3318f9d1a7f403ed8fea26f213e9ccc4cf705556..88b12c0b0ea3ffb4ccee35b8722fa737391a8b59 100644 (file)
@@ -76,6 +76,10 @@ static const struct flag_map fs_flags[] = {
                .mask = XFS_FSOP_GEOM_SICK_QUOTACHECK,
                .descr = "quota counts",
        },
+       {
+               .mask = XFS_FSOP_GEOM_SICK_NLINKS,
+               .descr = "inode link counts",
+       },
        {0},
 };