diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2016-01-22 18:42:17 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2016-03-25 18:51:40 +0100 |
commit | bee3a37c470e4febcb05556ceafcb70929268edd (patch) | |
tree | 3a37b82da1d64f3c0bf00a1305d9f8b3909ee42e /mm/zpool.c | |
parent | 1752b50ca240a7f722f57e81ba04496eb15c466f (diff) | |
download | linux-bee3a37c470e4febcb05556ceafcb70929268edd.tar.bz2 |
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>
Diffstat (limited to 'mm/zpool.c')
0 files changed, 0 insertions, 0 deletions