]> git.apps.os.sepia.ceph.com Git - ceph.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>
Thu, 10 Oct 2024 13:19:36 +0000 (09:19 -0400)
commitda390122289fd948a68b07b4f693ca03bd7d7076
treece7bcf792a0cef65bd06bce531eab6f90ae651d7
parent057fc3e0953d1d792acd015e8d39e000d1301b13
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)
src/librados/librados_asio.h
src/test/librados/asio.cc