https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2016-04-19T14:33:58ZCeph Ceph - Bug #15535: Missing export for rados_aio_get_version in src/include/rados/librados.hhttps://tracker.ceph.com/issues/15535?journal_id=693472016-04-19T14:33:58ZJim Wright
<ul></ul><p>This diff fixes the issue, however I'm unsure if the doxygen comments are correct as I just copied them from rados_aio_get_return_value.</p>
<pre>
diff --git a/src/include/rados/librados.h b/src/include/rados/librados.h
index 3aebf20..9048ad7 100644
--- a/src/include/rados/librados.h
+++ b/src/include/rados/librados.h
@@ -1706,6 +1706,22 @@ CEPH_RADOS_API int rados_aio_is_safe_and_cb(rados_completion_t c);
CEPH_RADOS_API int rados_aio_get_return_value(rados_completion_t c);
/**
+ * Get the version of an asychronous operation's object
+ *
+ * The return value is set when the operation is complete or safe,
+ * whichever comes first.
+ *
+ * @pre The operation is safe or complete
+ *
+ * @note BUG: complete callback may never be called when the safe
+ * message is received before the complete message
+ *
+ * @param c async operation to inspect
+ * @returns version number of the operation's object
+ */
+CEPH_RADOS_API uint64_t rados_aio_get_version(rados_completion_t c);
+
+/**
* Release a completion
*
* Call this when you no longer need the completion. It may not be
</pre> Ceph - Bug #15535: Missing export for rados_aio_get_version in src/include/rados/librados.hhttps://tracker.ceph.com/issues/15535?journal_id=719612016-06-02T15:46:39ZSage Weilsage@newdream.net
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Pending Backport</i></li><li><strong>Backport</strong> set to <i>jewel</i></li></ul> Ceph - Bug #15535: Missing export for rados_aio_get_version in src/include/rados/librados.hhttps://tracker.ceph.com/issues/15535?journal_id=720192016-06-03T16:53:58ZNathan Cutlerncutler@suse.cz
<ul></ul><p><strong>master PR</strong>: <a class="external" href="https://github.com/ceph/ceph/pull/9458">https://github.com/ceph/ceph/pull/9458</a></p> Ceph - Bug #15535: Missing export for rados_aio_get_version in src/include/rados/librados.hhttps://tracker.ceph.com/issues/15535?journal_id=720222016-06-03T16:55:21ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-9 status-3 priority-4 priority-default closed" href="/issues/16153">Backport #16153</a>: jewel: Missing export for rados_aio_get_version in src/include/rados/librados.h</i> added</li></ul> Ceph - Bug #15535: Missing export for rados_aio_get_version in src/include/rados/librados.hhttps://tracker.ceph.com/issues/15535?journal_id=734292016-06-27T14:48:12ZLoïc Dacharyloic@dachary.org
<ul><li><strong>Status</strong> changed from <i>Pending Backport</i> to <i>Resolved</i></li></ul>