Whamcloud - gitweb
LU-11476 lnet: set the health status correctly 07/33307/5
authorAmir Shehata <ashehata@whamcloud.com>
Thu, 4 Oct 2018 22:41:33 +0000 (15:41 -0700)
committerOleg Drokin <green@whamcloud.com>
Mon, 29 Oct 2018 16:02:21 +0000 (16:02 +0000)
commit5d77f0d8dc74c752032e449687090ff1360cd32e
tree8e32f4ec4acfaacb00b47cf6255b71068dbc27ee
parent20a603c42ecc1a5c6f1b3d5a0e31b2b323777abb
LU-11476 lnet: set the health status correctly

There are cases where the health status wasn't set properly.
Most notably in the tx_done we need to deal with a specific
set of errno: ENETDOWN, EHOSTUNREACH, ENETUNREACH, ECONNREFUSED,
ECONNRESET. In all those cases we can try and resend to other
available peer NIs.

Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: Ie8f0275582d434bda5e394fccc2a4d88dd538c69
Reviewed-on: https://review.whamcloud.com/33307
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Olaf Weber <olaf.weber@hpe.com>
Reviewed-by: Sonia Sharma <sharmaso@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/socklnd/socklnd_cb.c
lnet/lnet/lib-move.c