Whamcloud - gitweb
LU-16548 lnet: report actual timeout used by lnd 20/50620/18
authorFrank Sehr <fsehr@whamcloud.com>
Wed, 12 Apr 2023 19:31:33 +0000 (12:31 -0700)
committerOleg Drokin <green@whamcloud.com>
Fri, 9 Jun 2023 05:25:39 +0000 (05:25 +0000)
commit56097c490465cb67a87639192b1fee396acbfd24
tree2ffae3ff014f98bf6bc532154538606145c255d3
parent3989529f22f5c54a98e445674b4b3cc443a3af5f
LU-16548 lnet: report actual timeout used by lnd

lnd_timeout value reported by lnetctl may be different
from what is actually used.
There's an lnd_timeout calculated as a function of transaction
timeout and retry_count. This is the value displayed by
"lnetctl global show". However, each LND may define its own
timeout by setting timeout module parameter to a positive value,
which overrides the higher-level lnd_timeout defined by LNet.
lnetctl net show -v will show the timeout value in the
lnd_tunables section.
The timeout for socklnd, o2iblnd and gnilnd is implemented.
A test for sock, ib and gni is included.

Test-Parameters: trivial
Signed-off-by: Frank Sehr <fsehr@whamcloud.com>
Change-Id: I85a107ba6f1259c577f74945b89fd695f191d514
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50620
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Cyril Bordage <cbordage@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/include/uapi/linux/lnet/lnet-dlc.h
lnet/klnds/gnilnd/gnilnd.c
lnet/klnds/gnilnd/gnilnd.h
lnet/klnds/gnilnd/gnilnd_modparams.c
lnet/klnds/o2iblnd/o2iblnd_modparams.c
lnet/klnds/socklnd/socklnd_modparams.c
lnet/utils/lnetconfig/liblnetconfig_lnd.c
lustre/tests/sanity-lnet.sh