]> git.baikalelectronics.ru Git - kernel.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>
Thu, 17 Jan 2013 21:04:47 +0000 (15:04 -0600)
commit80edcfc25a0a2eb0592c6e235b801cc6f0ac8ae4
tree0844fc26b1f835dbabd8b0fed4ba957d49a6b790
parentd6ddebab5c4ea1a2619125a7d2908505296da83c
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>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c