You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
btl/uct: fix a race condition when setting up endpoints
This commit fixes a regression I introduced when changing how the endpoint flags
are set. There is no guarantee when the remote completion message comes in that
the local endpoint has been connected (only the remote endpoint). Instead of
always setting the endpoint as ready here the code now only sets that the remote
is connected and then sets the endpoint as ready only if both the local and
remote endpoints are connected. When the local endpoint is connected it
similarly checks that the remote is connected before setting the endpoint as
ready.
This was verified using RMA-MT with 128 threads and it does fix the race.
Signed-off-by: Nathan Hjelm <[email protected]>
0 commit comments