From: Yehuda Sadeh Date: Fri, 11 Oct 2013 21:52:13 +0000 (-0700) Subject: librados: add some clarifying comments X-Git-Tag: v0.71~14^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a1825356ad7e0747bbef2faa3a085fab2d52db97;p=ceph.git librados: add some clarifying comments about async pool operation handle Signed-off-by: Yehuda Sadeh --- 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 --