• Kent Overstreet's avatar
    bcachefs: Enumerate fsck errors · b65db750
    Kent Overstreet authored
    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>
    b65db750
quota.h 1.95 KB