Skip to content
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/AM: Fix request datatype state during CM switch - v1.11.x #7436

Conversation

yosefe
Copy link
Contributor

@yosefe yosefe commented Sep 22, 2021

Why

Backport #7432 to v1.11.x

When switching between transports, we can add new memry registration
handles to req->send.state.dt by calling ucp_send_request_add_reg_lane()
from ucp_do_am_zcopy_single(). Should not save 'state' before calling
add_reg_lane() - otherwise the new memory registration will be
overridden.

This fixes failure on r-vmb-ppc-jenkins in test_ucp_sockaddr_cm_switch
test with the symptom "Error: Input/output error". It is actually a
local protection error (PD violation) due to using wrong uct_mem_h.
@yosefe yosefe added this to the v1.11.2 milestone Sep 22, 2021
@yosefe yosefe changed the title UCP/AM: Fix request datatype state during CM switch UCP/AM: Fix request datatype state during CM switch - v1.11.x Sep 22, 2021
@yosefe yosefe merged commit 13c37f6 into openucx:v1.11.x Sep 22, 2021
@yosefe yosefe deleted the topic/ucp-am-fix-request-datatype-state-during-v1.11.x branch October 10, 2021 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants