libceph: un-backoff on tick when we have a authenticated session
authorIlya Dryomov <idryomov@gmail.com>
Mon, 23 Apr 2018 13:25:10 +0000 (15:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 May 2018 19:58:23 +0000 (12:58 -0700)
commit76f7b52b5bf0b03dc1af1df3ecceb5384a4046ca
treeb12d6ae447fb2167a2c5e52dacd391ed8f05ea3c
parentb02bbcce8ea3594b798ae57a7bb5e5dcf23f5e61
libceph: un-backoff on tick when we have a authenticated session

commit facb9f6eba3df4e8027301cc0e514dc582a1b366 upstream.

This means that if we do some backoff, then authenticate, and are
healthy for an extended period of time, a subsequent failure won't
leave us starting our hunting sequence with a large backoff.

Mirrors ceph.git commit d466bc6e66abba9b464b0b69687cf45c9dccf383.

Cc: stable@vger.kernel.org # 4.7+
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ceph/mon_client.c