]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: Asio frontend shares `io_context` with the rest of RGW
authorAdam C. Emerson <aemerson@redhat.com>
Fri, 14 Apr 2023 19:45:04 +0000 (15:45 -0400)
committerAdam Emerson <aemerson@redhat.com>
Wed, 24 Jan 2024 21:59:56 +0000 (16:59 -0500)
commitdc262061fed890f1c69a5569b040cddbbeb8c741
tree586d5ecb00f8fe3df9afd89af5c979b6f28dcc35
parent7c4eee61c4ab6e54f9298053eaecde682b19cc2b
rgw: Asio frontend shares `io_context` with the rest of RGW

Pull the `io_context` and threads out of `AsioFrontend`, pass in a
reference to `io_context_pool` so it can be shut down at `AsioFrontend::join`

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/rgw/rgw_appmain.cc
src/rgw/rgw_asio_frontend.cc
src/rgw/rgw_asio_frontend.h
src/rgw/rgw_main.h