xfs: report btree block corruption errors to the health system
Whenever we encounter corrupt btree 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>
Showing
- fs/xfs/libxfs/xfs_alloc.c 2 additions, 0 deletionsfs/xfs/libxfs/xfs_alloc.c
- fs/xfs/libxfs/xfs_bmap.c 6 additions, 0 deletionsfs/xfs/libxfs/xfs_bmap.c
- fs/xfs/libxfs/xfs_btree.c 22 additions, 3 deletionsfs/xfs/libxfs/xfs_btree.c
- fs/xfs/libxfs/xfs_health.h 2 additions, 0 deletionsfs/xfs/libxfs/xfs_health.h
- fs/xfs/libxfs/xfs_ialloc.c 1 addition, 0 deletionsfs/xfs/libxfs/xfs_ialloc.c
- fs/xfs/libxfs/xfs_refcount.c 5 additions, 1 deletionfs/xfs/libxfs/xfs_refcount.c
- fs/xfs/libxfs/xfs_rmap.c 5 additions, 1 deletionfs/xfs/libxfs/xfs_rmap.c
- fs/xfs/xfs_health.c 38 additions, 0 deletionsfs/xfs/xfs_health.c
Please register or sign in to comment