Whamcloud - gitweb
LU-9120 lnet: set health sensitivity from lnetctl 79/32779/16
authorAmir Shehata <amir.shehata@intel.com>
Wed, 4 Jul 2018 00:51:29 +0000 (17:51 -0700)
committerAmir Shehata <ashehata@whamcloud.com>
Fri, 17 Aug 2018 20:18:59 +0000 (20:18 +0000)
commit4a7357d5e945e5fe89e03b5d65edb45af95b49ee
treea1fcc19d4a45f06eb654a7d9ebefc5997f284edf
parentcf47570b0273e11f81be0fc67126172fe73ad367
LU-9120 lnet: set health sensitivity from lnetctl

Added an lnetctl command to set the health sensitivity
from userspace.

lnetctl set health_sensitivity {>0}

0 - turn off health evaluation
>0 - sensitivity value not more than 1000

Test-Parameters: forbuildonly
Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: Ic9289b06c5c9285a69c1819a33b79e954319a01e
Reviewed-on: https://review.whamcloud.com/32779
Reviewed-by: Sonia Sharma <sharmaso@whamcloud.com>
Reviewed-by: Olaf Weber <olaf.weber@hpe.com>
Tested-by: Jenkins
lnet/utils/lnetconfig/liblnetconfig.c
lnet/utils/lnetconfig/liblnetconfig.h
lnet/utils/lnetctl.c