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>
This commit is contained in:
@@ -1381,7 +1381,8 @@ _xfs_buf_ioapply(
|
||||
xfs_warn(mp,
|
||||
"%s: no ops on block 0x%llx/0x%x",
|
||||
__func__, bp->b_bn, bp->b_length);
|
||||
xfs_hex_dump(bp->b_addr, 64);
|
||||
xfs_hex_dump(bp->b_addr,
|
||||
XFS_CORRUPTION_DUMP_LEN);
|
||||
dump_stack();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user