]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librados/asio: add version_t to completion signatures
authorCasey Bodley <cbodley@redhat.com>
Wed, 25 Sep 2024 20:20:31 +0000 (16:20 -0400)
committerCasey Bodley <cbodley@redhat.com>
Wed, 2 Oct 2024 20:17:10 +0000 (16:17 -0400)
commit549e7b914634e22fec569c937ee958598cd0aa52
tree0212b8fa9c4afb2a9df485b710b20b234c1350e0
parent8fa7a27c2464b1ae3638fb6160119fa5e73b77f1
librados/asio: add version_t to completion signatures

IoCtx::aio_operate() doesn't update IoCtx::get_last_version(). to make
the resulting version_t available to the caller, we have to read it out
of the AioCompletionImpl and return it to the caller

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 5cc7cf44dba51f8071a6b7cd919c019283ac4ce1)

Conflicts: jaeger tracing not backported, no trace_ctx
src/test/librados/asio.cc
src/librados/librados_asio.h
src/test/librados/asio.cc