diff options
author | Christoph Hellwig <hch@lst.de> | 2023-01-11 07:23:31 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-02-15 19:38:54 +0100 |
commit | 52f0c198645c68b80536384b7e666c4c56777b5e (patch) | |
tree | aaa6c9f63c55971fafdb7a0d5b04f418623349c9 /fs/ceph | |
parent | 02efa3a6baffdd753dc04034c848a5956784422d (diff) |
btrfs: raid56: submit the read bios from scrub_assemble_read_bios
Instead of filling in a bio_list and submitting the bios in the only
caller, do that in scrub_assemble_read_bios. This removes the
need to pass the bio_list, and also makes it clear that the extra
bio_list cleanup in the caller is entirely pointless. Rename the
function to scrub_read_bios to make it clear that the bios are not
only assembled.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/ceph')
0 files changed, 0 insertions, 0 deletions