Whamcloud - gitweb
LU-13145 lnet: use conservative health timeouts 90/37390/3
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 31 Jan 2020 20:00:00 +0000 (13:00 -0700)
committerOleg Drokin <green@whamcloud.com>
Sat, 8 Feb 2020 05:38:18 +0000 (05:38 +0000)
commit3c86a9361862d34a4efde73c4f1cb7603ec6b2f9
tree2f81e29031b2db8df75be578db0b4aeb3eef7df9
parentf223dd255a4bb884b6013f3b69cb24c1da6c5d27
LU-13145 lnet: use conservative health timeouts

Use more conservative lnet_transaction_timeout and lnet_retry_count
values by default.  Currently with timeout=10 and retry=3 there is
only a 3s window for the RPC to be sent before it is timed out.
This has caused fault injection rather than fault tolerance.
Increase the default timeout to 50s with retry=2, which is hopefully
long enough to cover virtually all uses, but still allows LNet Health
to be enabled by default and resend before Lustre times out itself.

Fixes: 8632e94aeb7e ("LU-11816 lnet: setup health timeout defaults")
Lustre-change: https://review.whamcloud.com/37430
Lustre-commit: 361e9eaef13c0f472ad45388d3e147dabc32b737

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I6bfc4d61cebab38c1554e1b42834b1f38fc34ba8
Reviewed-on: https://review.whamcloud.com/37390
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Chris Horn <hornc@cray.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Amir Shehata <ashehata@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/api-ni.c