rbd: Refactor bio cloning
authorKent Overstreet <kmo@daterainc.com>
Wed, 7 Aug 2013 21:31:11 +0000 (14:31 -0700)
committerKent Overstreet <kmo@daterainc.com>
Sun, 24 Nov 2013 06:33:54 +0000 (22:33 -0800)
commit5341a6278bc5d10dbbb2ab6031b41d95c8db7a35
tree5861afdd9264fc55f8e4ce5794fbe7c9db7fe35e
parent59d276fe02d7e887a4825ef05c80b8f8c54ba60a
rbd: Refactor bio cloning

Now that we've got drivers converted to the new immutable bvec
primitives, bio splitting becomes much easier - this is how the new
bio_split() will work. (Someone more familiar with the ceph code could
probably use bio_clone_fast() instead of bio_clone() here).

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Yehuda Sadeh <yehuda@inktank.com>
Cc: Alex Elder <elder@inktank.com>
Cc: ceph-devel@vger.kernel.org
drivers/block/rbd.c