Home
last modified time | relevance | path

Searched hist:"02 efa3a6baffdd753dc04034c848a5956784422d" (Results 1 – 1 of 1) sorted by relevance

/linux/fs/btrfs/
H A Draid56.cdiff 02efa3a6baffdd753dc04034c848a5956784422d Wed Jan 11 07:23:30 CET 2023 Christoph Hellwig <hch@lst.de> btrfs: raid56: fold rmw_read_wait_recover into rmw_read_bios

There is very little extra code in rmw_read_bios, and a large part of it
is the superfluous extra cleanup of the bio list. Merge the two
functions, and only clean up the bio list after it has been added to
but before it has been emptied again by submit_read_wait_bio_list.

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>