diff options
author | Qu Wenruo <[email protected]> | 2022-11-01 19:16:11 +0800 |
---|---|---|
committer | David Sterba <[email protected]> | 2022-12-05 18:00:49 +0100 |
commit | 6bfd0133bee27737db415c530617cb015274d21f (patch) | |
tree | b7fd3c263e218fd2e39cf82c1932bc1ffb290994 /rust/helpers.c | |
parent | cb3450b7d7d0af6ed6ff60e174129938914083ab (diff) |
btrfs: raid56: switch scrub path to use a single function
This switch involves the following changes:
- Make finish_parity_scrub() only to submit the write bios
It will no longer call rbio_orig_end_io(), and now it will
return error.
- Add a new helper, recover_scrub_rbio(), to handle recovery
It's just doing extra scrub related checks, and then call
recover_sectors().
- Rename raid56_parity_scrub_stripe() to scrub_rbio()
- Rename scrub_parity_work() to scrub_rbio_work_locked()
To follow the existing naming scheme.
- Delete unused functions
Including:
* finish_rmw()
* raid_write_end_io()
* raid56_bio_end_io()
* __raid_recover_end_io()
Signed-off-by: Qu Wenruo <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions