xfs: report unrecognized log item type codes during recovery
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 21 Apr 2020 21:16:52 +0000 (14:16 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 4 May 2020 16:03:14 +0000 (09:03 -0700)
commit0d2d35a33ea77f34d534106e0b18a5797d3bbcf7
treea3c4cbb83c9e45872dd31696fa28ba6ec8fe8fb1
parent0e698dfa282211e414076f9dc7e83c1c288314fd
xfs: report unrecognized log item type codes during recovery

When we're sorting recovered log items ahead of recovering them and
encounter a log item of unknown type, actually print the type code when
we're rejecting the whole transaction to aid in debugging.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_log_recover.c