ceph: reset msgr backoff during open, not after successful handshake
authorSage Weil <sage@newdream.net>
Fri, 20 Nov 2009 23:14:15 +0000 (15:14 -0800)
committerSage Weil <sage@newdream.net>
Fri, 20 Nov 2009 23:14:15 +0000 (15:14 -0800)
commit03c677e1d189ff62891d9f278c55bb798a418b81
tree132c50a3b698c964625504ca833f08f161ffe0a5
parent0dc2570fab222affe7739b88b5ed04c511d433dc
ceph: reset msgr backoff during open, not after successful handshake

Reset the backoff delay when we reopen the connection, so that the delays
for any initial connection problems are reasonable.  We were resetting only
after a successful handshake, which was of limited utility.

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