mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
Merge pull request #36774 from dillaman/wip-46669-2
librbd: drop deferred AsioEngine destruction Reviewed-by: Mykola Golub <mgolub@suse.com>
This commit is contained in:
commit
f34d1d3ac0
@ -173,11 +173,6 @@ librados::IoCtx duplicate_io_ctx(librados::IoCtx& io_ctx) {
|
||||
delete state;
|
||||
|
||||
delete plugin_registry;
|
||||
|
||||
// destroy our AsioEngine via its shared io_context to ensure that we
|
||||
// aren't executing within an AsioEngine-owned strand
|
||||
auto& io_context = asio_engine->get_io_context();
|
||||
boost::asio::post(io_context, [asio_engine=std::move(asio_engine)]() {});
|
||||
}
|
||||
|
||||
void ImageCtx::init() {
|
||||
|
Loading…
Reference in New Issue
Block a user