diff options
author | Qu Wenruo <wqu@suse.com> | 2023-03-20 05:12:57 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-04-17 19:01:24 +0300 |
commit | 54765392a1b9533235c718e5956ebd97379fb200 (patch) | |
tree | 8c89120485edf55b9d2e862c729a217c764613a1 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 0096580713ffc061a579bd8be0661120079e3beb (diff) | |
download | linux-54765392a1b9533235c718e5956ebd97379fb200.tar.xz |
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions