Whamcloud - gitweb
LU-3679 lnet: reflect down routes in /proc/sys/lnet/routes 95/8195/2
authorChris Horn <hornc@cray.com>
Wed, 23 Oct 2013 17:12:40 +0000 (12:12 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 4 Feb 2014 03:28:41 +0000 (03:28 +0000)
commit99f0e012ecd2d5c7f9153fff872c2b0ede8ffe2a
tree2a3c1c9264ea76e4fd95a8bf1a7d6c98cefdf132
parent673101e82abf24f6922c1d46a71da1e00e7cc291
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>
Reviewed-on: http://review.whamcloud.com/8195
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
lnet/include/lnet/lib-lnet.h
lnet/lnet/lib-move.c
lnet/lnet/router_proc.c