Whamcloud - gitweb
LU-16145 lnet: Honor peer timeout of zero 89/48489/4
authorChris Horn <chris.horn@hpe.com>
Fri, 2 Sep 2022 16:47:02 +0000 (11:47 -0500)
committerOleg Drokin <green@whamcloud.com>
Sat, 17 Sep 2022 06:24:18 +0000 (06:24 +0000)
commiteee27c88adc39da36e287d0dbf6d85be25400f51
tree3d8281d9a07829ebf65471c91166ae4a9b0bd10d
parent819c8b169325045ae8bac9c4f38a58c75e22d099
LU-16145 lnet: Honor peer timeout of zero

Zero is a valid value for the peer_timeout parameter (it is supposed
to disable the LNet Peer Health feature used on routers), but DLC
treats zero as uninitialized and assigns the default peer timeout
instead.

Test-Parameters: trivial testlist=sanity-lnet
HPE-bug-id: LUS-11233
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: I66f45ddf282757f46c0169ae0e725e56234d3d89
Reviewed-on: https://review.whamcloud.com/48489
Reviewed-by: Frank Sehr <fsehr@whamcloud.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/api-ni.c
lnet/utils/lnetconfig/liblnetconfig.c
lnet/utils/lnetctl.c
lustre/tests/sanity-lnet.sh