summaryrefslogtreecommitdiff
path: root/tools/kvm/kvm_stat
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2023-03-20 10:12:58 +0800
committerDavid Sterba <dsterba@suse.com>2023-04-17 18:01:24 +0200
commite02ee89baa66c40e1002cf8b09141fce7265e0f5 (patch)
treedc5adc775ec5c48dafc5a07deddedf51014a298b /tools/kvm/kvm_stat
parent54765392a1b9533235c718e5956ebd97379fb200 (diff)
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/kvm/kvm_stat')
0 files changed, 0 insertions, 0 deletions