]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
AsyncConnection: Avoid lockdep detect failed 4543/head
authorHaomai Wang <haomaiwang@gmail.com>
Tue, 5 May 2015 05:58:39 +0000 (13:58 +0800)
committerHaomai Wang <haomaiwang@gmail.com>
Tue, 5 May 2015 06:20:48 +0000 (14:20 +0800)
commit752a16fa35d9bb91b77a2a1e66a965e5437a1e97
tree8d2f49b5a84e0cbd571b24cd85d13b76e70adcfb
parentc26b21fa7981b050dbd10b5f82832100a69f9db0
AsyncConnection: Avoid lockdep detect failed

Previously we used a atomic field to avoid deadlock, but it still let lockdep
detect failed. So we remove the atomic field and unlock connection firstly.

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
src/msg/async/AsyncConnection.cc
src/msg/async/AsyncConnection.h