diff options
author | Yehuda Sadeh <yehuda@inktank.com> | 2013-10-11 14:52:13 -0700 |
---|---|---|
committer | Yehuda Sadeh <yehuda@inktank.com> | 2013-10-11 14:53:45 -0700 |
commit | a1825356ad7e0747bbef2faa3a085fab2d52db97 (patch) | |
tree | 7520da62556419fc8960b2776b5fd44c39134826 | |
parent | 7ef5eb06ec07d4e7c3fee4d85de8a8310f7ed94f (diff) | |
download | ceph-a1825356ad7e0747bbef2faa3a085fab2d52db97.tar.gz |
librados: add some clarifying comments
about async pool operation handle
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
-rw-r--r-- | src/include/rados/librados.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/rados/librados.hpp b/src/include/rados/librados.hpp index 5a750cbc0d1..23e270641cf 100644 --- a/src/include/rados/librados.hpp +++ b/src/include/rados/librados.hpp @@ -744,7 +744,12 @@ namespace librados int cluster_stat(cluster_stat_t& result); int cluster_fsid(std::string *fsid); - /* pool aio */ + /* + * pool aio + * + * It is up to the caller to release the completion handler, even if the pool_create_async() + * and/or pool_delete_async() fails and does not send the async request + */ static PoolAsyncCompletion *pool_async_create_completion(); // -- aio -- |