Commit 494dcc57 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Plumb saw_error through to btree_err()



The btree node read path has the ability to kick off an asynchronous
btree node rewrite if we saw and corrected an error. Previously this was
only used for errors that caused one of the replicas to be unusable -
this patch plumbs it through to all error paths, so that normal fsck
errors can be corrected.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent b8fe1b1d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment