summaryrefslogtreecommitdiff
path: root/fs/btrfs/fs.h
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2022-11-01 14:16:11 +0300
committerDavid Sterba <dsterba@suse.com>2022-12-05 20:00:49 +0300
commit6bfd0133bee27737db415c530617cb015274d21f (patch)
treeb7fd3c263e218fd2e39cf82c1932bc1ffb290994 /fs/btrfs/fs.h
parentcb3450b7d7d0af6ed6ff60e174129938914083ab (diff)
downloadlinux-6bfd0133bee27737db415c530617cb015274d21f.tar.xz
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 <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/fs.h')
0 files changed, 0 insertions, 0 deletions