diff options
author | 2023-03-20 10:12:53 +0800 | |
---|---|---|
committer | 2023-04-17 18:01:23 +0200 | |
commit | 97cf8f37542ab5764ab397257e8844fb09f91d1c (patch) | |
tree | ae3cd3cecbf32a3ce78848bdded1d85742b5bd63 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: scrub: introduce a helper to verify one metadata block (diff) | |
download | wireguard-linux-97cf8f37542ab5764ab397257e8844fb09f91d1c.tar.xz wireguard-linux-97cf8f37542ab5764ab397257e8844fb09f91d1c.zip |
btrfs: scrub: introduce a helper to verify one scrub_stripe
The new helper, scrub_verify_stripe(), shares the same main workflow of
the old scrub code.
The major differences are:
- How pages/page_offset is grabbed
Everything can be grabbed from scrub_stripe easily.
- When error report happens
Currently the helper only verifies the sectors, not really doing any
error reporting.
The error reporting would be done after we have done the repair.
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-postgresql.py')
0 files changed, 0 insertions, 0 deletions