]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: allocate the asio strands directly on the heap
authorJason Dillaman <dillaman@redhat.com>
Fri, 10 Jul 2020 16:46:27 +0000 (12:46 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 16 Jul 2020 20:02:31 +0000 (16:02 -0400)
commit9b6a2040b727599ef41a4f9a765a2cb1dfee1f98
tree8e14080235d67ce205c50228c07f0db2e017ed90
parentfed9f94300609a41d98bc63cd783df74ed115958
librbd: allocate the asio strands directly on the heap

This will assist with potential race condition debugging since the
stand pointer will be invalidated by the time the strand has been
destructed and shut down.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/AsioEngine.cc
src/librbd/AsioEngine.h
src/librbd/asio/ContextWQ.cc
src/librbd/asio/ContextWQ.h