• Ilya Dryomov's avatar
    libceph: reschedule tick in mon_fault() · bee3a37c
    Ilya Dryomov authored
    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
    Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
mon_client.c 28.5 KB