Repository navigation
UCP/PROTO: Handle AM short failure correctly [v1.10.x] - #6164
Merged
Merged
Conversation
Contributor
|
Looks like PR description is taken from wrong PR |
Member
Author
@brminich thanks! |
Member
Author
|
unrelated failure on http://hpc-master.lab.mtl.com:8080/blue/organizations/jenkins/ucx/detail/ucx/9292/pipeline/568 bot:pipe:retest |
yosefe
approved these changes
Jan 20, 2021
Contributor
|
can error be relevant? |
Member
Author
no, this is UCT test |
Member
Member
Author
Member
Let's port, to make v1.10 pass tests |
brminich
approved these changes
Jan 22, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_OKnorUCS_ERR_NO_RESOURCE), a UCP request has to be completed with thestatus, butUCS_OKshould be returned from a function to satisfyucp_request_try_send()expectations thatUCS_OK/UCS_INPROGRESS/UCS_ERR_NO_RESOURCEstatuses 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.statusfromuct_ep_am_short()in TAG/AM/STREAM short progress functions.backport of #6157 PR