]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: factor stripe submission logic out of btrfs_map_bio
authorChristoph Hellwig <hch@lst.de>
Thu, 26 May 2022 07:36:41 +0000 (09:36 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Jul 2022 15:45:33 +0000 (17:45 +0200)
commit4f5e5bd7b3007bdb2896f199f69194b43af593d5
treea2ef53b0ec9e2278ebcfe8dc637384941c3699db
parent5c923b55360b40ccad2c7263c128ce6cc49cccbe
btrfs: factor stripe submission logic out of btrfs_map_bio

Move all per-stripe handling into submit_stripe_bio and use a label to
cleanup instead of duplicating the logic.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c