Commit b00750c2 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Better helpers for inconsistency errors



An inconsistency error often happens as part of an event with multiple
error messages, and we want to build up one single error message with
proper indenting to produce more readable log messages that don't get
garbled.

Add new helpers that emit messages to a printbuf instead of printing
them directly, next patch will convert to use them.

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