Whamcloud - gitweb
LU-11468 lnet: configure recovery interval 09/33309/9
authorAmir Shehata <ashehata@whamcloud.com>
Thu, 4 Oct 2018 00:01:38 +0000 (17:01 -0700)
committerOleg Drokin <green@whamcloud.com>
Tue, 6 Nov 2018 06:40:11 +0000 (06:40 +0000)
commitdc1f5f08b420aba99f613a6bc6b8acb7afd0e894
tree8a7b15c0b221c936d9ece72ba95b395a054a42c1
parentcbcfb4f7ff81ce1887cb57c674b8e9d5da498dcf
LU-11468 lnet: configure recovery interval

Added a module parameter to configure the interval between each
recovery ping. Some sites might not want to ping failed NIDs once
a second and might desire a longer interval. The interval defaults
to 1 second.
Monitor thread now wakes up depending on the smallest interval
it needs to monitor

Test-Parameters: trivial
Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: Ia96fa7dea0b3925686d785b4d4dde399742c86b7
Reviewed-on: https://review.whamcloud.com/33309
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Doug Oucharek <dougso@me.com>
Reviewed-by: Sonia Sharma <sharmaso@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/include/lnet/lib-lnet.h
lnet/lnet/api-ni.c
lnet/lnet/lib-move.c