Whamcloud - gitweb
LU-16051 o2iblnd: detect link state to set fatal error on ni
authorSerguei Smirnov <ssmirnov@whamcloud.com>
Fri, 23 Sep 2022 22:20:51 +0000 (15:20 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 13 Dec 2022 18:54:43 +0000 (18:54 +0000)
commit9a63a865e5f17827e533bf7ec2a667ca8eb82dd6
tree797301df07719aecf9bf36624f2bec220959f33d
parent3d3468eeb33153c2b1c8e69fafe48cfa59338f16
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.

Lustre-change: https://review.whamcloud.com/48644
Lustre-commit: 30d73908087d5b2f0b18cce95826c4825c030ad4

Test-Parameters: trivial
Signed-off-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Change-Id: I4720cd0a7bc577a522c7d40b54f821a4c12b670f
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/49315
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Cyril Bordage <cbordage@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lnet/klnds/o2iblnd/o2iblnd.c
lnet/klnds/o2iblnd/o2iblnd.h