]> git.ipfire.org Git - people/arne_f/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 19:38:40 +0000 (11:38 -0800)
commit67c6fc1932a705f61f98d8092375622b8dffea6a
treec4beb1b0c263cdc031770a2e917cec3c95c976fb
parentda6a81eb5a2671f12551953d1843a0f53416d185
libceph: move msgr clear_standby under con mutex protection

(cherry picked from commit 00650931e52e97fe64096bec167f5a6780dfd94a)

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ceph/messenger.c