Whamcloud - gitweb
LU-13510 lnet: Correct the default LND timeout 81/38481/3
authorChris Horn <hornc@cray.com>
Mon, 4 May 2020 18:24:51 +0000 (13:24 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 27 May 2020 05:05:11 +0000 (05:05 +0000)
commit0127d64b8cadd28f2306f416058557dd8622c160
treeba28b06f9dfcebb986e4441d168ae28bee90b539
parentb0209c2d4d771eb1c728549483244a63e11a818e
LU-13510 lnet: Correct the default LND timeout

Default LND timeout is currently too low. To allow for
lnet_retry_count resend attempts within a single
lnet_transaction_timeout window, the LND timeout needs to be less
than lnet_transaction_timeout / lnet_retry_count. If the retry
count is 0, we still want LND timeout to be less than the LNet
transaction timeout.

Also, be sure to update the LND timeout when health is toggled on or
off.

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