]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msg/Pipe: inject delay in stop_and_wait 2825/head
authorSage Weil <sage@redhat.com>
Fri, 31 Oct 2014 23:25:09 +0000 (16:25 -0700)
committerSage Weil <sage@redhat.com>
Thu, 13 Nov 2014 17:14:40 +0000 (09:14 -0800)
commit2fe5c4c305218fdb1771857e4e0ef7c98a8d0fb6
tree9b9fb40a720cbf5e4591de831ed4385a4e130771
parent2d6980570af2226fdee0edfcfe5a8e7f60fae615
msg/Pipe: inject delay in stop_and_wait

Inject a delay in stop_and_wait.  This will mostly affect the connection
race Pipe takeover code which currently calls stop_and_wait while holding
the msgr->lock.  This should make it easier for a racing fast_dispatch
method to get stuck on a call that (indirectly) needs the msgr lock.
See #9921.

Signed-off-by: Sage Weil <sage@redhat.com>
src/msg/simple/Pipe.cc