Skip to content

osc/rdma: set state_region->base for non accelerated btl #10462

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 1 commit into from
Jun 10, 2022

Conversation

wzamazon
Copy link
Contributor

@wzamazon wzamazon commented Jun 9, 2022

In allocate_state_shared(), state_region->base is used to
calculate peer->state when CPU atomics is not used.

Currently it is set only if accelerated btl is used,
but it is used for non-accelerated btl too, causing peer->state
to be set incorrectly.

This patch addressed the issue.

Signed-off-by: Wei Zhang [email protected]

In allocate_state_shared(), state_region->base is used to
calculate peer->state when CPU atomics is not used.

Currently it is set only if accelerated btl is used,
but it is used for non-accelerated btl too, causing peer->state
to be set incorrectly.

This patch addressed the issue.

Signed-off-by: Wei Zhang <[email protected]>
@awlauria awlauria merged commit 2befd74 into open-mpi:main Jun 10, 2022
@awlauria
Copy link
Contributor

@wzamazon can you bring this back to v5.0.x?

@wzamazon
Copy link
Contributor Author

@awlauria

Sure. will do

@wzamazon
Copy link
Contributor Author

backport PR #10465

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