diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-09-25 18:18:48 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2022-10-03 23:55:23 -0400 |
commit | 693580c8a733faf181cac809429e4c2f3f056bff (patch) | |
tree | 73feb1b4169f7c9cc523e9acd7ee3208741923b7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 64d7794b1b0d45a5825ad2a2516762296d06d161 (diff) |
bcachefs: Improve bch2_fsck_err()
- factor out fsck_err_get()
- if the "bcachefs (%s):" prefix has already been applied, don't
duplicate it
- convert to printbufs instead of static char arrays
- tidy up control flow a bit
- use bch2_print_string_as_lines(), to avoid messages getting truncated
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions