diff options
author | Qu Wenruo <wqu@suse.com> | 2023-03-20 05:12:56 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-04-17 19:01:24 +0300 |
commit | 0096580713ffc061a579bd8be0661120079e3beb (patch) | |
tree | 8a472848d3ef2b7b4a06d7879476679830db33c3 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 058e09e6fe7ccbe5bead222eb7890277391aec0e (diff) | |
download | linux-0096580713ffc061a579bd8be0661120079e3beb.tar.xz |
btrfs: scrub: introduce error reporting functionality for scrub_stripe
The new helper, scrub_stripe_report_errors(), will report the result of
the scrub to system log.
The main reporting is done by introducing a new helper,
scrub_print_common_warning(), which is mostly the same content from
scrub_print_wanring(), but without the need for a scrub_block.
Since we're reporting the errors, it's the perfect time to update the
scrub stats too.
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions