]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: record health problems with the metadata directory
authorDarrick J. Wong <djwong@kernel.org>
Mon, 23 Sep 2024 20:40:56 +0000 (13:40 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 9 Oct 2024 02:25:23 +0000 (19:25 -0700)
commita1ac729930e7dcc3f575d77b031e5eb059b3ce31
tree7a76daf6fae60adff0be26878697b53ea234486e
parent28fb35d0760d482ff08ca7ce3254afdc64445612
xfs: record health problems with the metadata directory

Make a report to the health monitoring subsystem any time we encounter
something in the metadata directory tree that looks like corruption.

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_metadir.c
fs/xfs/xfs_health.c
fs/xfs/xfs_icache.c
fs/xfs/xfs_inode.c