]> www.infradead.org Git - users/dwmw2/linux.git/commit
xfs: record health problems with the metadata directory
authorDarrick J. Wong <djwong@kernel.org>
Mon, 4 Nov 2024 04:18:57 +0000 (20:18 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:33 +0000 (13:38 -0800)
commitbe42fc1393d66024eb6415c92f45fab5d1878c3e
tree6e0133f65fcd35832019319cc71072c8e8a10aaf
parent61b6bdb30a4bee1f3417081aedfe9e346538f897
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