]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: dump corrupt recovered log intent items to dmesg consistently
authorDarrick J. Wong <djwong@kernel.org>
Tue, 25 Oct 2022 22:07:14 +0000 (15:07 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 31 Oct 2022 15:58:20 +0000 (08:58 -0700)
commit462dd1f797146a61e7ca848ae3769c561abe09fc
treeda2aa788aecd0d27984821f33f34e57a9daf9c18
parent5a7aca9e1a031af656f80a719fbd059e42845a42
xfs: dump corrupt recovered log intent items to dmesg consistently

If log recovery decides that an intent item is corrupt and wants to
abort the mount, capture a hexdump of the corrupt log item in the kernel
log for further analysis.  Some of the log item code already did this,
so we're fixing the rest to do it consistently.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/xfs_attr_item.c
fs/xfs/xfs_bmap_item.c
fs/xfs/xfs_extfree_item.c
fs/xfs/xfs_refcount_item.c
fs/xfs/xfs_rmap_item.c