rbd: encapsulate submission of image object requests
authorAlex Elder <elder@inktank.com>
Fri, 19 Apr 2013 20:34:50 +0000 (15:34 -0500)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:19:08 +0000 (21:19 -0700)
commitb454e36d2638c005c6574c2289529f5738f156cb
treedb72913cbc518961fd6a1235eb4242321a933335
parent9d4df01f08e2f2a777f3476741ff4ef8afb04be6
rbd: encapsulate submission of image object requests

Object requests that are part of an image request are subject to
some additional handling.  Define rbd_img_obj_request_submit() to
encapsulate that, and use it when initially submitting an image
object request, and when re-submitting it during callback of
an object existence check.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c