]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
rbd: encapsulate handling for a single request
authorAlex Elder <elder@inktank.com>
Thu, 8 Nov 2012 14:01:39 +0000 (08:01 -0600)
committerAlex Elder <elder@inktank.com>
Mon, 19 Nov 2012 23:37:48 +0000 (17:37 -0600)
commitb2d0c108c3637b908312336b8d5066a6954ba193
tree5f4e6e1005a86f7336f7f6470b75cc26c695fe48
parent49eae05a6f5ca042a1a537a6ff0d3ecda57c3d73
rbd: encapsulate handling for a single request

In rbd_rq_fn(), requests are fetched from the block layer and each
request is processed, looping through the request's list of bio's
until they've all been consumed.

Separate the handling for a single request into its own function to
make it a bit easier to see what's going on.

Signed-off-by: Alex Elder <elder@inktank.com>
drivers/block/rbd.c