]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: switch all queued contexts in IO path to use asio post
authorJason Dillaman <dillaman@redhat.com>
Wed, 17 Jun 2020 19:20:35 +0000 (15:20 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 16 Jul 2020 19:59:31 +0000 (15:59 -0400)
commitbb14993873821307780ee0d267b6229a27bf3a40
tree05b777c52a7299d37a15fd07cc012692a13cef19
parent11ae84df8badc955e45f2f092d77926a744cfb48
librbd: switch all queued contexts in IO path to use asio post

The post operation is similar to the asio::ContextWQ::queue wrapper
but execution is not limited to a single thread strand.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/AsioEngine.cc
src/librbd/AsioEngine.h
src/librbd/io/AioCompletion.cc
src/librbd/io/AsyncOperation.cc
src/librbd/io/CopyupRequest.cc
src/librbd/io/CopyupRequest.h
src/librbd/io/ObjectDispatch.cc
src/librbd/io/ObjectRequest.cc
src/librbd/io/QosImageDispatch.cc
src/librbd/io/QueueImageDispatch.cc
src/librbd/io/SimpleSchedulerObjectDispatch.cc