-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UCP/RNDV: Don't complete operation from CANCEL if RTS wasn't sent #233
Conversation
Passed 4 iterations successfully. |
it passed 20 more iterations successfully |
@yosefe could you review pls? |
@@ -422,8 +422,6 @@ void ucp_tag_rndv_cancel(ucp_request_t *sreq) | |||
if (!(sreq->send.ep->flags & UCP_EP_FLAG_REMOTE_CONNECTED)) { | |||
if (sreq->flags & UCP_REQUEST_FLAG_RNDV_RTS_SENT) { | |||
ucp_rndv_req_add_to_cancelled_list(sreq, UCS_ERR_CANCELED); | |||
} else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when is this operation completed if rts is not sent?
is it still on pending queue in this case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe add code comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when is this operation completed if rts is not sent?
it will be completed during pending purge
is it still on pending queue in this case?
yes, it is still in the pending queue, and it will be removed when purging
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe add code comment
done
dbe17a6
to
b11358f
Compare
Fixes: http://hpcweb.lab.mtl.com/hpc/mtr_scrap/users/mtt/scratch/ucx_ompi/20220109_125149_188193_86219_jazz02.swx.labs.mlnx/html/test_stdout_BJNZGm.txt