xfs: report block map corruption errors to the health tracking system
authorDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:31:51 +0000 (12:31 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:31:51 +0000 (12:31 -0800)
commit1196f3f5abf736809cafac1696967ac318a44ca0
tree9d3cbecf7df48828f8624cc92a8231ca1c7a72cf
parentde6077ec4198b9313c6e09e4c6acbe9179d057c1
xfs: report block map corruption errors to the health tracking system

Whenever we encounter a corrupt block mapping, 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_bmap.c
fs/xfs/libxfs/xfs_health.h
fs/xfs/xfs_health.c
fs/xfs/xfs_iomap.c
fs/xfs/xfs_reflink.c