Skip to content

ompi: pml ucx: fix persistant request initialization #3125

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

Merged
merged 2 commits into from
Mar 8, 2017

Conversation

alex-mikheev
Copy link
Contributor

Signed-off-by: Alex Mikheev [email protected]
Fixes openucx/ucx#1361
@yosefe

* before the field is set. If the field is not NULL then mca_pml_ucx_preq_completion()
* will try to complete bogus persistant request.
*/
ompi_req->req_complete_cb_data = NULL;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we reset it to NULL after bsend completion?

Copy link
Contributor Author

@alex-mikheev alex-mikheev Mar 8, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By default (on first allocation) request memory is zeroed ? If so cleaning up after bsend will be a better approach.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually, now i see it is being reset on bsend completion.

@yosefe yosefe merged commit 327d5a8 into open-mpi:master Mar 8, 2017
@yosefe yosefe deleted the topic/pml_ucx_req_init_fix branch March 8, 2017 17:08
@yosefe
Copy link
Contributor

yosefe commented Mar 8, 2017

@alex-mikheev pls port to 2.x/2.0.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants