]> 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)
commit1f6b97098152a369f6f2816bd9715265b8aea97a
treea2ef53b0ec9e2278ebcfe8dc637384941c3699db
parentc3dba2aa89a0cac9f012e4e575a5cbcc977d5b15
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