Whamcloud - gitweb
LU-9480 lnet: tune lnet_peer_discovery_disabled with lnetctl 87/25787/21
authorOlaf Weber <olaf@sgi.com>
Tue, 28 Mar 2017 09:09:32 +0000 (11:09 +0200)
committerAmir Shehata <amir.shehata@intel.com>
Tue, 22 Aug 2017 16:26:08 +0000 (16:26 +0000)
commit9a0d39e3cee3a2a84e7ac45f8d37b5de3d80fbc0
tree92ed1ec5790bee1b60dbff9b264941b1631ecfe9
parent4404a218a55871e418f08a1c8617b41dd330f5e5
LU-9480 lnet: tune lnet_peer_discovery_disabled with lnetctl

A new tunable, lnet_peer_discovery_disabled, has been introduced.
Make it tunable with lnetctl. Note that the state of discovery is
reported as 1/enabled, or 0/disabled, which is the inverse of the
module parameter.

Test-Parameters: trivial
Signed-off-by: Olaf Weber <olaf@sgi.com>
Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Change-Id: I67333d86520c5b6db8ff99c924054c4b487c8029
Reviewed-on: https://review.whamcloud.com/25787
Reviewed-by: Olaf Weber <olaf.weber@hpe.com>
lnet/utils/lnetconfig/liblnetconfig.c
lnet/utils/lnetconfig/liblnetconfig.h
lnet/utils/lnetctl.c