xfs: report realtime metadata corruption errors to the health system
authorDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:32:44 +0000 (12:32 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:32:44 +0000 (12:32 -0800)
commit8368ad49aaf771a6283840140149440b958b20fb
treecd17c572b107bcb351fa758e6e11e71284785eeb
parent841a5f87e2d08c60836859da69575b36caadb37d
xfs: report realtime metadata corruption errors to the health system

Whenever we encounter corrupt realtime metadat blocks, we should report
that to the health monitoring system for later reporting.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_rtbitmap.c
fs/xfs/xfs_rtalloc.c