summaryrefslogtreecommitdiff
path: root/kernel/rcutiny_plugin.h
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-01-17 12:25:27 -0600
committerSage Weil <sage@inktank.com>2013-02-13 18:29:08 -0800
commit788e2df3b92e30f1fff74139bb53e68ec13fe2a5 (patch)
treee0386e011b2dd488bb55e1b2baef4677b11ad6b2 /kernel/rcutiny_plugin.h
parent7d250b949a33c8a658a2ad4ab390d8394b842224 (diff)
rbd: implement sync object read with new code
Reimplement the synchronous read operation used for reading a version 1 header using the new request tracking code. Name the resulting function rbd_obj_read_sync() to better reflect that it's a full object operation, not an object request. To do this, implement a new OBJ_REQUEST_PAGES object request type. This implements a new mechanism to allow the caller to wait for completion for an rbd_obj_request by calling rbd_obj_request_wait(). This partially resolves: http://tracker.newdream.net/issues/3755 Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'kernel/rcutiny_plugin.h')
0 files changed, 0 insertions, 0 deletions