]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: move msgr clear_standby under con mutex protection
authorSage Weil <sage@inktank.com>
Fri, 20 Jul 2012 22:33:04 +0000 (15:33 -0700)
committerSage Weil <sage@inktank.com>
Tue, 31 Jul 2012 01:15:56 +0000 (18:15 -0700)
commit80ef1cecaf730e92ec17fdae791b4120cbfaeb57
treeec6f3675e8229ac8dc3628a7c3ae7f2d2bbafceb
parentc567280e90ed5b1da2fb8637f4b1c2cd9b311ffb
libceph: move msgr clear_standby under con mutex protection

Avoid dropping and retaking con->mutex in the ceph_con_send() case by
leaving locking up to the caller.

Signed-off-by: Sage Weil <sage@inktank.com>
net/ceph/messenger.c