diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-02-22 21:33:03 +0100 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-02-22 21:33:03 +0100 |
commit | 0e24ec3c56fbc797b34fc94073320c336336b4f9 (patch) | |
tree | f9b4bddb5fbe33bf695a69a95ca63fd6c3fbfd8b /fs/xfs/xfs_health.c | |
parent | xfs: add secondary and indirect classes to the health tracking system (diff) | |
download | linux-0e24ec3c56fbc797b34fc94073320c336336b4f9.tar.xz linux-0e24ec3c56fbc797b34fc94073320c336336b4f9.zip |
xfs: remember sick inodes that get inactivated
If an unhealthy inode gets inactivated, remember this fact in the
per-fs health summary.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_health.c')
-rw-r--r-- | fs/xfs/xfs_health.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_health.c b/fs/xfs/xfs_health.c index a264547fcd94..855221c0dd34 100644 --- a/fs/xfs/xfs_health.c +++ b/fs/xfs/xfs_health.c @@ -431,6 +431,7 @@ static const struct ioctl_sick_map ag_map[] = { { XFS_SICK_AG_FINOBT, XFS_AG_GEOM_SICK_FINOBT }, { XFS_SICK_AG_RMAPBT, XFS_AG_GEOM_SICK_RMAPBT }, { XFS_SICK_AG_REFCNTBT, XFS_AG_GEOM_SICK_REFCNTBT }, + { XFS_SICK_AG_INODES, XFS_AG_GEOM_SICK_INODES }, { 0, 0 }, }; |