Whamcloud - gitweb
LU-9480 lnet: show peer state 30/26130/21
authorAmir Shehata <amir.shehata@intel.com>
Wed, 22 Mar 2017 20:34:23 +0000 (13:34 -0700)
committerAmir Shehata <amir.shehata@intel.com>
Tue, 22 Aug 2017 16:29:00 +0000 (16:29 +0000)
commit1cb6cf3b691f9f3febd8a952ab5b3e3157c6e758
tree42144dc95c525e5f104d8c99cdf0da564dd9954d
parented052504713d1db49531454a87055b2ee54399f0
LU-9480 lnet: show peer state

It is important to show the peer state when debugging.
This patch exports the peer state from the kernel to
user space, and is shown when the detail level requested
in the peer show command is >= 3

Test-Parameters: trivial
Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Signed-off-by: Olaf Weber <olaf@sgi.com>
Change-Id: I1e169b2b7bf80671ea302f04c6fb948bbcbbb245
Reviewed-on: https://review.whamcloud.com/26130
Reviewed-by: Olaf Weber <olaf.weber@hpe.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
lnet/include/lnet/lib-lnet.h
lnet/lnet/api-ni.c
lnet/lnet/peer.c
lnet/utils/lnetconfig/liblnetconfig.c