]> 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)
commit20684021eb202b32600916c5191c08ca9a1d344b
treeda2aa788aecd0d27984821f33f34e57a9daf9c18
parenteb592467a5eda91ec00aa91589de7f94f42187d9
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