]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common/async: Add handler for librados::AioCompletion
authorAdam C. Emerson <aemerson@redhat.com>
Tue, 5 May 2020 22:32:59 +0000 (18:32 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Wed, 9 Sep 2020 02:09:40 +0000 (22:09 -0400)
commit813acd5d8650d41e9ae9b52579b16f21f4d4417d
tree4267c1873e33a005101b244b4328341feec08a8a
parent3e5ecffceb2d0614ded5ad3d329bb14c33b853b3
common/async: Add handler for librados::AioCompletion

Support using a librados::AioCompletion as a completion handler in
Boost.Asio when the arguments are void or only an error code.

(To support more arguments we'd have to wrap up the AioCompletion with
pointers to hold them.)

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