diff options
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | 2017-02-09 05:45:06 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-17 14:03:48 +0300 |
commit | 6f6b643e44ef79cbd85e69800a06326805829aa8 (patch) | |
tree | 7d04cfdabebaa9da49fc5f36c83024e7d882fbb7 /sound | |
parent | fe01aa65385c226d822013b90608b67c485f8dc6 (diff) |
btrfs: Better csum error message for data csum mismatch
The original csum error message only outputs inode number, offset, check
sum and expected check sum.
However no root objectid is outputted, which sometimes makes debugging
quite painful under multi-subvolume case (including relocation).
Also the checksum output is decimal, which seldom makes sense for
users/developers and is hard to read in most time.
This patch will add root objectid, which will be %lld for rootid larger
than LAST_FREE_OBJECTID, and hex csum output for better readability.
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions