]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: simple ASIO execution context
authorJason Dillaman <dillaman@redhat.com>
Thu, 11 Jun 2020 17:58:35 +0000 (13:58 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 11 Jun 2020 23:57:34 +0000 (19:57 -0400)
commitac74b29b529d6198a40108ed665a9d0d3c8758e0
tree21c67b44a388dcc1f9b0483075580bd61ae6082e
parentb3c9465f9fba819586b8303ed8cde1e18a062323
librbd: simple ASIO execution context

This initial execution context wrapper will start "rbd_op_threads"
number of threads and bind them to an ASIO io_context to be used for
processing async callbacks.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/AsioEngine.cc [new file with mode: 0644]
src/librbd/AsioEngine.h [new file with mode: 0644]
src/librbd/CMakeLists.txt
src/librbd/ImageCtx.cc
src/librbd/ImageCtx.h