OSDN Git Service

xfs: dump the first 128 bytes of any corrupt buffer
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 8 Jan 2018 18:51:26 +0000 (10:51 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 8 Jan 2018 18:54:47 +0000 (10:54 -0800)
commit9c712a1346b214a92f4a0e5bb4de4c075de65c32
tree7cd7e9e54e4e2f5d3996fc55b0b0ecc8c2c9ab55
parentd9418ed08ae1fa025c96498d95ba30cbb934e119
xfs: dump the first 128 bytes of any corrupt buffer

Increase the corrupt buffer dump to the first 128 bytes since v5
filesystems have larger block headers than before.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/xfs_buf.c
fs/xfs/xfs_error.c
fs/xfs/xfs_error.h