commit | 8295cda7ceceb7b25f9a12cd21bbfb6206e28a6d | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Thu Nov 08 08:01:39 2012 -0600 |
committer | Alex Elder <elder@inktank.com> | Thu Jan 17 15:04:47 2013 -0600 |
tree | 0844fc26b1f835dbabd8b0fed4ba957d49a6b790 | |
parent | 8986cb37b1cf1f54b35f062f0a12dc68dd89f311 [diff] |
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>