Whamcloud - gitweb
LU-9120 lnet: add global health statistics 49/32949/12
authorAmir Shehata <ashehata@whamcloud.com>
Sun, 5 Aug 2018 21:16:49 +0000 (14:16 -0700)
committerAmir Shehata <ashehata@whamcloud.com>
Fri, 17 Aug 2018 20:19:54 +0000 (20:19 +0000)
commit15020fd977af68620e862ad999eaab17688933e2
tree3d32fbc1dec98bd53886bb83eecdf535fa535645
parentc0ad398fd71610c42b7ed06f8d2ca722daa01391
LU-9120 lnet: add global health statistics

Added global health statistics

Print that from lnetctl.

lnetctl stats show

lnet_selftest passes the statistics block over the wire. This,
unfortunately, creates an unnecessary backwards compatibility link
for lnet_selftest, which shouldn't be there. This patch breaks
this backwards compatibility, which means lnet_selftest will
not work with older selftest modules.

Test-Parameters: forbuildonly
Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: I4a171c4f3cf13a1e8ab0d607d3b328352f727380
Reviewed-on: https://review.whamcloud.com/32949
Reviewed-by: Olaf Weber <olaf.weber@hpe.com>
Tested-by: Jenkins
Reviewed-by: Sonia Sharma <sharmaso@whamcloud.com>
lnet/include/lnet/lib-lnet.h
lnet/include/uapi/linux/lnet/lnet-types.h
lnet/lnet/api-ni.c
lnet/lnet/lib-move.c
lnet/lnet/lib-msg.c
lnet/selftest/module.c
lnet/utils/lnetconfig/liblnetconfig.c