]> 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, 26 Sep 2024 17:02:40 +0000 (13:02 -0400)
commit5cc7cf44dba51f8071a6b7cd919c019283ac4ce1
tree0bb6d61b581b7cf9af29f6ec0e883d5a03bfa424
parent4f09b38c8d81456382ae9f129106440f7ed2bfa0
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>
src/librados/librados_asio.h
src/test/librados/asio.cc