bcachefs: Improvements to the journal read error paths

- Print out more information in error messages
 - On checksum error, keep the journal entry but mark it bad so that we
   can prefer entries from other devices that don't have bad checksums

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2020-08-24 15:58:26 -04:00 • committed by Kent Overstreet
commit ca73852a13
2 changed files with 60 additions and 26 deletions