aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2023-03-20 10:12:58 +0800
committerDavid Sterba <[email protected]>2023-04-17 18:01:24 +0200
commite02ee89baa66c40e1002cf8b09141fce7265e0f5 (patch)
treedc5adc775ec5c48dafc5a07deddedf51014a298b /rust/helpers.c
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 <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions