linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] btrfs-progs: check: enhance the csum mismatch error message
@ 2021-08-26  6:40 Qu Wenruo
  2021-08-26  6:40 ` [PATCH 1/3] btrfs-progs: move btrfs_format_csum() to common/utils.[ch] Qu Wenruo
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Qu Wenruo @ 2021-08-26  6:40 UTC (permalink / raw)
  To: linux-btrfs

This patchset will change the csum mismatch error message for data csum
mismatch, from the old almost meaningless output:

  [5/7] checking csums against data
  mirror 1 bytenr 13631488 csum 19 expected csum 152 <<<
  ERROR: errors found in csum tree

To a more human readable output:

  [5/7] checking csums against data
  mirror 1 bytenr 13631488 csum 0x13fec125 expected csum 0x98757625
  ERROR: errors found in csum tree

Qu Wenruo (3):
  btrfs-progs: move btrfs_format_csum() to common/utils.[ch]
  btrfs-progs: slightly enhance btrfs_format_csum()
  btrfs-progs: check: output proper csum values for --check-data-csum

 check/main.c            | 13 ++++++++++---
 common/utils.c          | 16 ++++++++++++++++
 common/utils.h          |  4 ++++
 kernel-shared/disk-io.c | 19 ++-----------------
 4 files changed, 32 insertions(+), 20 deletions(-)

-- 
2.32.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-08-26 12:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-26  6:40 [PATCH 0/3] btrfs-progs: check: enhance the csum mismatch error message Qu Wenruo
2021-08-26  6:40 ` [PATCH 1/3] btrfs-progs: move btrfs_format_csum() to common/utils.[ch] Qu Wenruo
2021-08-26  6:40 ` [PATCH 2/3] btrfs-progs: slightly enhance btrfs_format_csum() Qu Wenruo
2021-08-26  6:40 ` [PATCH 3/3] btrfs-progs: check: output proper csum values for --check-data-csum Qu Wenruo
2021-08-26 12:28 ` [PATCH 0/3] btrfs-progs: check: enhance the csum mismatch error message David Sterba
2021-08-26 12:50   ` Qu Wenruo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).