]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: factor out low-level bio setup from submit_stripe_bio
authorChristoph Hellwig <hch@lst.de>
Sat, 6 Aug 2022 08:03:27 +0000 (10:03 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Sep 2022 10:27:59 +0000 (12:27 +0200)
commit9351a147d39d60429311b132405ec786989dfb59
treeb2e01ab222aa434a1d4b1e690b12babae6c7d198
parent4b4fc9f1eda323fe2e858b1b5f0e4e10898bfe13
btrfs: factor out low-level bio setup from submit_stripe_bio

Split out a low-level btrfs_submit_dev_bio helper that just submits
the bio without any cloning decisions or setting up the end I/O handler
for future reuse by a different caller.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c