]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librados: document aio_flush()
authorSage Weil <sage@inktank.com>
Sun, 6 Oct 2013 19:55:16 +0000 (12:55 -0700)
committerSage Weil <sage@inktank.com>
Fri, 6 Dec 2013 22:37:25 +0000 (14:37 -0800)
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
src/include/rados/librados.hpp

index db2ac3e1fc2b29f082b9236f12b2e2bd7b7f109a..dfe24784f950180903f6997dcd5a5d6f881835c0 100644 (file)
@@ -665,6 +665,11 @@ namespace librados
      */
     int aio_remove(const std::string& oid, AioCompletion *c);
 
+    /**
+     * Wait for all currently pending aio writes to be safe.
+     *
+     * @returns 0 on success, negative error code on failure
+     */
     int aio_flush();
 
     /**