Whamcloud - gitweb
LU-16051 o2iblnd: detect link state to set fatal error on ni 44/48644/3
authorSerguei Smirnov <ssmirnov@whamcloud.com>
Fri, 23 Sep 2022 22:20:51 +0000 (15:20 -0700)
committerOleg Drokin <green@whamcloud.com>
Mon, 10 Oct 2022 05:38:37 +0000 (05:38 +0000)
commit30d73908087d5b2f0b18cce95826c4825c030ad4
treee91336fc8383b384ad7ba2ba2940a1d796c52674
parent4c89ee7d7b098c7f1e6566f49fa2940db577518d
LU-16051 o2iblnd: detect link state to set fatal error on ni

To avoid selecting lnet ni which corresponds to a downed link
for sending, add a mechanism for detecting ip-layer link events
in o2iblnd. On ip link up/down events, find corresponding
ni and toggle ni_fatal_error_on flag. This complements the
existing mechanism for ib-layer link event handling.

Test-Parameters: trivial
Signed-off-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Change-Id: I4720cd0a7bc577a522c7d40b54f821a4c12b670f
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/48644
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Frank Sehr <fsehr@whamcloud.com>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Cyril Bordage <cbordage@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/o2iblnd/o2iblnd.c
lnet/klnds/o2iblnd/o2iblnd.h