diff options
author | Haomai Wang <haomai@xsky.com> | 2016-02-15 10:31:12 +0100 |
---|---|---|
committer | Haomai Wang <haomai@xsky.com> | 2016-02-20 07:22:44 +0100 |
commit | 28ac263865ff554c8f1430bf9288c21129bba595 (patch) | |
tree | 524828283b09fbf2957a3a0dfb0d8a5158f98a5e /src/librados/IoCtxImpl.h | |
parent | librados: add unittest for rados aio watch (diff) | |
download | ceph-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.h | 1 |
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, |