Skip to content

v4.0.x: btl/vader: ensure that the send tag is always written last #5704

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
Sep 17, 2018

Conversation

hjelmn
Copy link
Member

@hjelmn hjelmn commented Sep 14, 2018

To ensure fast box entries are complete when processed by the
receiving process the tag must be written last. This includes a zero
header for the next fast box entry (in some cases). This commit fixes
two instances where the tag was written too early. In one case, on
32-bit systems it is possible for the tag part of the header to be
written before the size. The second instance is an ordering issue. The
zero header was being written after the fastbox header.

Fixes #5375, #5638

Signed-off-by: Nathan Hjelm [email protected]
(cherry picked from commit 850fbff)
Signed-off-by: Nathan Hjelm [email protected]

To ensure fast box entries are complete when processed by the
receiving process the tag must be written last. This includes a zero
header for the next fast box entry (in some cases). This commit fixes
two instances where the tag was written too early. In one case, on
32-bit systems it is possible for the tag part of the header to be
written before the size. The second instance is an ordering issue. The
zero header was being written after the fastbox header.

Fixes open-mpi#5375, open-mpi#5638

Signed-off-by: Nathan Hjelm <[email protected]>
(cherry picked from commit 850fbff)
Signed-off-by: Nathan Hjelm <[email protected]>
@hjelmn hjelmn added this to the v4.0.0 milestone Sep 14, 2018
@hjelmn hjelmn requested a review from jsquyres September 14, 2018 18:35
@jsquyres jsquyres changed the title btl/vader: ensure that the send tag is always written last v4.0.x: btl/vader: ensure that the send tag is always written last Sep 14, 2018
@bwbarrett
Copy link
Member

bot:ompi:retest

Looks like this one almost made it to the end before running out of space.

@hppritcha hppritcha merged commit 82ce4ed into open-mpi:v4.0.x Sep 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants