]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common/async: Use AioCompletion as a completion for coroutines
authorAdam Emerson <aemerson@redhat.com>
Tue, 14 May 2024 19:09:14 +0000 (15:09 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Tue, 1 Apr 2025 15:10:13 +0000 (11:10 -0400)
commiteca7c17e04d1e7ec798a4af571dfc4c3c8d445fe
treea42cf11eba4b4bedc5ef59b41ec0efbb1d848132
parent3b887b064b2b75842061c8f310d8b6f634517d6a
common/async: Use AioCompletion as a completion for coroutines

I forgot I had this already. Just extend it so we can handle things
like coroutines that return an `exception_ptr` rather than an
`error_code`.

Signed-off-by: Adam Emerson <aemerson@redhat.com>
src/common/async/librados_completion.h
src/test/common/CMakeLists.txt
src/test/common/test_librados_completion.cc [new file with mode: 0644]