Whamcloud - gitweb
LU-13571 lnd: Use NETWORK_TIMEOUT for some conn failures 00/39900/15
authorChris Horn <chris.horn@hpe.com>
Fri, 11 Sep 2020 19:13:32 +0000 (14:13 -0500)
committerOleg Drokin <green@whamcloud.com>
Thu, 3 Dec 2020 07:26:29 +0000 (07:26 +0000)
commit12333c1fecc00ed67597f189715a68cbfea7b287
tree76381368d285d5bf9d4d354f4ec904b2fe3072b5
parent7af63191370fd2337d0bc9045d211b918c61fdd1
LU-13571 lnd: Use NETWORK_TIMEOUT for some conn failures

For -EHOSTUNREACH and -ETIMEDOUT we cannot tell whether the
connnection failure was due to a problem with the remote or local NI,
so we should return the LNET_MSG_STATUS_NETWORK_TIMEOUT to LNet in
these cases.

HPE-bug-id: LUS-9342
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: I9036f5698061ce74fe29683b8249b8f9a05f3433
Reviewed-on: https://review.whamcloud.com/39900
Reviewed-by: Amir Shehata <ashehata@whamcloud.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/o2iblnd/o2iblnd_cb.c