Whamcloud - gitweb
LU-11297 lnet: MR Routing Feature 83/34983/3
authorAmir Shehata <ashehata@whamcloud.com>
Fri, 7 Jun 2019 18:35:09 +0000 (14:35 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 7 Jun 2019 18:38:06 +0000 (14:38 -0400)
commit1aae733c16161513b07d7f8cc046299e2de5aad3
tree8ddf06c7bd9bd8446f7240a3de782f11214f68b1
parent7b9fd576f7de7d4bfa40c85d06bb224e7a29c829
parent41f3c27adf160d3661db252e9046a783301a9830
LU-11297 lnet: MR Routing Feature

This is a merge commit from the multi-rail branch. It brings in
the MR Routing feature. This feature aligns the LNET Multi-Rail
behavior with routing. A gateway now is viewed as a Multi-Rail
capable node. When a route is added only one entry per gateway
should be used. That route entry should use the primary-nid of
the gateway. The multi-rail selection algorithm is then run when
sending to the gateway to select the best interface to send to.

Furthermore the gateway aliveness is now kept via the health
mechanism. And the gateway pinger now uses discovery instead
of maintaining its own pinger handler.

Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: Ie2d8c6449f84860511b322ff2db3ed656a163e74
lnet/include/lnet/lib-lnet.h
lnet/klnds/socklnd/socklnd.c
lnet/lnet/router_proc.c
lustre/tests/sanity.sh