]> 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)
commit32747c44550c82a6a6ddf365b91216e4b8b0a6d6
treeb2e01ab222aa434a1d4b1e690b12babae6c7d198
parent917f32a235017055104332487cb749c5f119c2ae
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