diff options
author | 2023-03-20 10:12:57 +0800 | |
---|---|---|
committer | 2023-04-17 18:01:24 +0200 | |
commit | 54765392a1b9533235c718e5956ebd97379fb200 (patch) | |
tree | 8c89120485edf55b9d2e862c729a217c764613a1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: scrub: introduce error reporting functionality for scrub_stripe (diff) | |
download | wireguard-linux-54765392a1b9533235c718e5956ebd97379fb200.tar.xz wireguard-linux-54765392a1b9533235c718e5956ebd97379fb200.zip |
btrfs: scrub: introduce helper to queue a stripe for scrub
The new helper, queue_scrub_stripe(), would try to queue a stripe for
scrub. If all stripes are already in use, we will submit all the
existing ones and wait for them to finish.
Currently we would queue up to 8 stripes, to enlarge the blocksize to
512KiB to improve the performance. Sectors repaired on zoned need to be
relocated instead of in-place fix.
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