aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2022-11-01 19:16:11 +0800
committerDavid Sterba <[email protected]>2022-12-05 18:00:49 +0100
commit6bfd0133bee27737db415c530617cb015274d21f (patch)
treeb7fd3c263e218fd2e39cf82c1932bc1ffb290994 /rust/helpers.c
parentcb3450b7d7d0af6ed6ff60e174129938914083ab (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