Skip to content
Commit b65db750 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Enumerate fsck errors



This patch adds a superblock error counter for every distinct fsck
error; this means that when analyzing filesystems out in the wild we'll
be able to see what sorts of inconsistencies are being found and repair,
and hence what bugs to look for.

Errors validating bkeys are not yet considered distinct fsck errors, but
this patch adds a new helper, bkey_fsck_err(), in order to add distinct
error types for them as well.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent f5d26fa3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment