commit | e93f3152357ca75284284bef8eeea7d45fe1bab1 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Wed May 08 22:50:04 2013 -0500 |
committer | Alex Elder <elder@inktank.com> | Mon May 13 15:06:44 2013 -0500 |
tree | 772595e38dcf482119c938228c2e4db699bcbaa3 | |
parent | fb65d2284c117cfc28d30217d25a14a8e7a75a94 [diff] |
rbd: define parent image request routines Define rbd_parent_request_create() and rbd_parent_request_destroy() to handle the creation of parent image requests submitted for layered image objects. For simplicity, let rbd_img_request_put() handle dropping the reference to any image request (parent or not), and call whichever destructor is appropriate on the last put. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>