Whamcloud - gitweb
LU-2133 lnet: wrong peer state reported
authorIsaac Huang <he.huang@intel.com>
Tue, 19 Mar 2013 19:20:53 +0000 (13:20 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 13 Apr 2013 01:31:56 +0000 (21:31 -0400)
commit00243fccc1977e4dee8041f4c0f9854373598dc2
treefad779abee885b425b639f2c6d62ce6d5673d764
parent0f1d64724480bdfa268d18153272c3484c90e578
LU-2133 lnet: wrong peer state reported

When peer health support is disabled, peer state as shown in
/proc/sys/lnet/peers and by IOC_LIBCFS_DEBUG_PEER should be "NA".
Otherwise wrong states could be shown because the peer aliveness time
stamps are not refreshed when peer health is disabled.

Signed-off-by: Isaac Huang <he.huang@intel.com>
Change-Id: Ice5c6651ca5d2620495a0c37de9a22aebd644d0a
Reviewed-on: http://review.whamcloud.com/5955
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com>
Reviewed-by: Liang Zhen <liang.zhen@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/include/lnet/lib-types.h
lnet/lnet/lib-move.c