• Qu Wenruo's avatar
    btrfs: scrub: remove the old writeback infrastructure · 16f93993
    Qu Wenruo authored
    Since the whole scrub path has been switched to scrub_stripe based
    solution, the old writeback path can be removed completely, which
    involves:
    
    - scrub_ctx::wr_curr_bio member
    - scrub_ctx::flush_all_writes member
    - function scrub_write_block_to_dev_replace()
    - function scrub_write_sector_to_dev_replace()
    - function scrub_add_sector_to_wr_bio()
    - function scrub_wr_submit()
    - function scrub_wr_bio_end_io()
    - function scrub_wr_bio_end_io_worker()
    
    And one more function needs to be exported temporarily:
    
    - scrub_sector_get()
    Signed-off-by: default avatarQu Wenruo <wqu@suse.com>
    Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
    Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
    16f93993
scrub.c 135 KB