]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librados: add some clarifying comments
authorYehuda Sadeh <yehuda@inktank.com>
Fri, 11 Oct 2013 21:52:13 +0000 (14:52 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Fri, 11 Oct 2013 21:53:45 +0000 (14:53 -0700)
about async pool operation handle

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/include/rados/librados.hpp

index 5a750cbc0d13591d9be4ea5dd93dc971a0067b68..23e270641cf9333e63373e7e0da64e71250c6cfc 100644 (file)
@@ -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 --