Skip to content
Commit bee3a37c authored by Ilya Dryomov's avatar Ilya Dryomov
Browse files

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: default avatarIlya Dryomov <idryomov@gmail.com>
parent 1752b50c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment