Whamcloud - gitweb
LU-3679 lnet: reflect down routes in /proc/sys/lnet/routes 57/7857/4
authorChris Horn <hornc@cray.com>
Wed, 23 Oct 2013 17:12:40 +0000 (12:12 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 26 Oct 2013 22:40:32 +0000 (22:40 +0000)
commite8a1124e74f027779068eb7931f10035e0bc6f1d
tree8c4e13f5226d5eef82862c26859b9e919d801364
parentd79d67625f56bedaa05a7f849942730a055a02dd
LU-3679 lnet: reflect down routes in /proc/sys/lnet/routes

We consider routes "down" if the router is down or the router
NI for the target network is down. This should be reflected
in the output of /proc/sys/lnet/routes

Signed-off-by: Chris Horn <hornc@cray.com>
Change-Id: I82ee769d88aec92f1690ad9c095e32c9a9f9e282
Reviewed-on: http://review.whamcloud.com/7857
Reviewed-by: Cory Spitz <spitzcor@cray.com>
Reviewed-by: Isaac Huang <he.huang@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/include/lnet/lib-lnet.h
lnet/lnet/lib-move.c
lnet/lnet/router_proc.c