]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: fix fault locking; close socket on lossy fault
authorSage Weil <sage@inktank.com>
Fri, 20 Jul 2012 22:22:53 +0000 (15:22 -0700)
committerSage Weil <sage@inktank.com>
Tue, 31 Jul 2012 01:15:55 +0000 (18:15 -0700)
commite29dad87fbb677ff0cf4fff2e8909e48ee22dd00
tree7ea6b52c37dd8117b5fa67b5b193a2e70a05298c
parentfaf77a5fe342b8350c27ca3e6792e1efe4ca5c6d
libceph: fix fault locking; close socket on lossy fault

If we fault on a lossy connection, we should still close the socket
immediately, and do so under the con mutex.

We should also take the con mutex before printing out the state bits in
the debug output.

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