Skip to content

Commit

Permalink
msg/async/AsyncConnection: replace Mutex with std::mutex for peformance
Browse files Browse the repository at this point in the history
The 16714 issue is caused by when replacing process. Accept connection will
try to acquire another connection's lock. But all connection's lock name
are the same. So it will result in lockdep map make wrong judgement.

Fixes: http://tracker.ceph.com/issues/16714
Signed-off-by: Haomai Wang <haomai@xsky.com>
  • Loading branch information
yuyuyu101 committed Jul 21, 2016
1 parent 12c0683 commit ebcb1b8
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 82 deletions.

0 comments on commit ebcb1b8

Please sign in to comment.