summaryrefslogtreecommitdiffstats
path: root/src/librados/IoCtxImpl.h
diff options
context:
space:
mode:
authorHaomai Wang <haomai@xsky.com>2016-02-15 10:31:12 +0100
committerHaomai Wang <haomai@xsky.com>2016-02-20 07:22:44 +0100
commit28ac263865ff554c8f1430bf9288c21129bba595 (patch)
tree524828283b09fbf2957a3a0dfb0d8a5158f98a5e /src/librados/IoCtxImpl.h
parentlibrados: add unittest for rados aio watch (diff)
downloadceph-28ac263865ff554c8f1430bf9288c21129bba595.tar.xz
ceph-28ac263865ff554c8f1430bf9288c21129bba595.zip
librados: support aio_unwatch api
Signed-off-by: Haomai Wang <haomai@xsky.com>
Diffstat (limited to 'src/librados/IoCtxImpl.h')
-rw-r--r--src/librados/IoCtxImpl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librados/IoCtxImpl.h b/src/librados/IoCtxImpl.h
index 4e530b3f9c6..2bc554bf654 100644
--- a/src/librados/IoCtxImpl.h
+++ b/src/librados/IoCtxImpl.h
@@ -213,6 +213,7 @@ struct librados::IoCtxImpl {
librados::WatchCtx *ctx, librados::WatchCtx2 *ctx2);
int watch_check(uint64_t cookie);
int unwatch(uint64_t cookie);
+ int aio_unwatch(uint64_t cookie, AioCompletionImpl *c);
int notify(const object_t& oid, bufferlist& bl, uint64_t timeout_ms,
bufferlist *preplybl, char **preply_buf, size_t *preply_buf_len);
int notify_ack(const object_t& oid, uint64_t notify_id, uint64_t cookie,