xfs: report dir/attr block corruption errors to the health system
Whenever we encounter corrupt directory or extended attribute 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_attr_leaf.c 4 additions, 0 deletionsfs/xfs/libxfs/xfs_attr_leaf.c
- fs/xfs/libxfs/xfs_attr_remote.c 16 additions, 11 deletionsfs/xfs/libxfs/xfs_attr_remote.c
- fs/xfs/libxfs/xfs_da_btree.c 32 additions, 5 deletionsfs/xfs/libxfs/xfs_da_btree.c
- fs/xfs/libxfs/xfs_dir2.c 4 additions, 1 deletionfs/xfs/libxfs/xfs_dir2.c
- fs/xfs/libxfs/xfs_dir2_block.c 2 additions, 0 deletionsfs/xfs/libxfs/xfs_dir2_block.c
- fs/xfs/libxfs/xfs_dir2_data.c 3 additions, 0 deletionsfs/xfs/libxfs/xfs_dir2_data.c
- fs/xfs/libxfs/xfs_dir2_leaf.c 3 additions, 0 deletionsfs/xfs/libxfs/xfs_dir2_leaf.c
- fs/xfs/libxfs/xfs_dir2_node.c 7 additions, 0 deletionsfs/xfs/libxfs/xfs_dir2_node.c
- fs/xfs/libxfs/xfs_health.h 3 additions, 0 deletionsfs/xfs/libxfs/xfs_health.h
- fs/xfs/xfs_attr_inactive.c 4 additions, 0 deletionsfs/xfs/xfs_attr_inactive.c
- fs/xfs/xfs_attr_list.c 8 additions, 1 deletionfs/xfs/xfs_attr_list.c
- fs/xfs/xfs_health.c 39 additions, 0 deletionsfs/xfs/xfs_health.c
Please register or sign in to comment