xfs: remember sick inodes that get inactivated
authorDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:33:03 +0000 (12:33 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:33:03 +0000 (12:33 -0800)
commit0e24ec3c56fbc797b34fc94073320c336336b4f9
treef9b4bddb5fbe33bf695a69a95ca63fd6c3fbfd8b
parent4e587917ee1cc28ac3a04cd55937419b9e65d81d
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>
fs/xfs/libxfs/xfs_fs.h
fs/xfs/libxfs/xfs_health.h
fs/xfs/libxfs/xfs_inode_buf.c
fs/xfs/scrub/health.c
fs/xfs/xfs_health.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_trace.h