libceph: reschedule tick in mon_fault()
authorIlya Dryomov <idryomov@gmail.com>
Fri, 22 Jan 2016 17:42:17 +0000 (18:42 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 25 Mar 2016 17:51:40 +0000 (18:51 +0100)
commitbee3a37c470e4febcb05556ceafcb70929268edd
tree3a37b82da1d64f3c0bf00a1305d9f8b3909ee42e
parent1752b50ca240a7f722f57e81ba04496eb15c466f
libceph: reschedule tick in mon_fault()

Doing __schedule_delayed() in the hunting branch is pointless, as the
tick will have already been scheduled by then.

What we need to do instead is *reschedule* it in the !hunting branch,
after reopen_session() changes hunt_mult, which affects the delay.
This helps with spacing out connection attempts and avoiding things
like two back-to-back attempts followed by a longer period of waiting
around.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/mon_client.c