-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Medium
-
None
-
Affects Version/s: None
-
3
-
9223372036854775807
When a peer NI becomes unresponsive, messages waiting for peer credits remain queued against that NI even when alternative paths are available. The queue drains only as credits are returned, potentially causing prolonged RPC delays and client eviction.
This problem was observed with o2iblnd, where connection timeouts also fail to reduce the remote NI's health, allowing LNet to continue selecting an unreachable peer NI.
Messages already waiting for peer credits remain on the failed
NI's queue until credits are returned by connection timeouts.
Draining a large queue this way can take over a minute, causing
RPC delays and potentially client eviction despite the
availability of healthy alternative paths.
Report o2iblnd connection timeouts and RDMA_CM_EVENT_UNREACHABLE
as remote drops. This reduces the failed peer NI's health
without penalizing the local NI and allows LNet to resend
affected messages through another path. These messages were
never posted for transmission, so resending them is safe.
When a peer NI's health decreases due to a send failure,
response timeout, or discovery update, also move eligible
messages from its peer-credit queue back through path selection.
Limit the number of reroutes to prevent repeated failures from
extending message deadlines indefinitely.