]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2830c6cdae280e2663905893336e2b4de2130cfb
tree5861afdd9264fc55f8e4ce5794fbe7c9db7fe35e
parent8590f7ba6ca39ca9769402e52ac94988d5b36fc9
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