Whamcloud - gitweb
LU-7734 lnet: fix lnet_select_pathway()
authorAmir Shehata <amir.shehata@intel.com>
Mon, 20 Jun 2016 21:21:13 +0000 (14:21 -0700)
committerAmir Shehata <amir.shehata@intel.com>
Wed, 25 Jan 2017 03:10:16 +0000 (19:10 -0800)
commita52d11ffe4f5d922749c67b37a07f777e56a2390
tree27a6bd0d9723112b4b91566ad7ab5867efb9603c
parentc906ab9c88ef3cf0b38102763aff20072611f2e0
LU-7734 lnet: fix lnet_select_pathway()

Fixed the selection algorithm to work properly with > 1 local
networks. The behavior now is to iterate through all interfaces
on all networks

Also removed the health variable from struct lnet_peer_net since
it's never used.

Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Change-Id: Ib91748e80446585b6a9e1bc0f3af6894599d8aaa
Reviewed-on: http://review.whamcloud.com/20890
Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com>
Tested-by: Jenkins
lnet/include/lnet/lib-types.h
lnet/lnet/lib-move.c