]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librados/asio: extend lifetime of AioCompletion
authorCasey Bodley <cbodley@redhat.com>
Tue, 12 May 2026 18:55:31 +0000 (14:55 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 18 May 2026 17:31:23 +0000 (13:31 -0400)
commit27bbb966dd688bc7b448a5e58689fcc92da264c3
treebcde1a9fd59cd486b3cc0702e9b638c47bd25f9c
parent6f7b98a776b22fef95110b573e2c910fdc43dc84
librados/asio: extend lifetime of AioCompletion

pass the unique_aio_completion_ptr into a wrapped completion handler to
extend its lifetime past the end of the AsyncOp::aio_dispatch() callback

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/librados/librados_asio.h