diff options
author | Qu Wenruo <wqu@suse.com> | 2023-03-20 05:12:58 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-04-17 19:01:24 +0300 |
commit | e02ee89baa66c40e1002cf8b09141fce7265e0f5 (patch) | |
tree | dc5adc775ec5c48dafc5a07deddedf51014a298b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 54765392a1b9533235c718e5956ebd97379fb200 (diff) | |
download | linux-e02ee89baa66c40e1002cf8b09141fce7265e0f5.tar.xz |
btrfs: scrub: switch scrub_simple_mirror() to scrub_stripe infrastructure
Switch scrub_simple_mirror() to the new scrub_stripe infrastructure.
Since scrub_simple_mirror() is the core part of scrub (only RAID56
P/Q stripes don't utilize it), we can get rid of a big chunk of code,
mostly scrub_extent(), scrub_sectors() and directly called functions.
There is a functionality change:
- Scrub speed throttle now only affects read on the scrubbing device
Writes (for repair and replace), and reads from other mirrors won't
be limited by the set limits.
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