-
Notifications
You must be signed in to change notification settings - Fork 423
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/PROTO: Handle AM short failure correctly [v1.10.x] #6164
UCP/PROTO: Handle AM short failure correctly [v1.10.x] #6164
Conversation
Looks like PR description is taken from wrong PR |
@brminich thanks! |
unrelated failure on
http://hpc-master.lab.mtl.com:8080/blue/organizations/jenkins/ucx/detail/ucx/9292/pipeline/568 bot:pipe:retest |
can error be relevant?
|
no, this is UCT test |
Let's port, to make v1.10 pass tests |
What
Handle UCT AM short failure correctly in UCP progress functions.
Why ?
If AM short failed in a progress function (i.e. the status is neither
UCS_OK
norUCS_ERR_NO_RESOURCE
), a UCP request has to be completed with thestatus
, butUCS_OK
should be returned from a function to satisfyucp_request_try_send()
expectations thatUCS_OK
/UCS_INPROGRESS
/UCS_ERR_NO_RESOURCE
statuses could be returned from progress functions.How ?
ucp_am_short_handle_status_from_pending()
common function for AM Short to use in all TAG/AM/STREAM function as we have for AM Bcopy.status
fromuct_ep_am_short()
in TAG/AM/STREAM short progress functions.backport of #6157 PR