Skip to content

v2.1.x: btl/vader: ensure that the send tag is always written last #5707

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 v2.1.6 milestone Sep 14, 2018
@hjelmn hjelmn requested a review from jsquyres September 14, 2018 18:39
@jsquyres
Copy link
Member

@hppritcha Good to go.

@jsquyres jsquyres changed the title btl/vader: ensure that the send tag is always written last v2.1.x: btl/vader: ensure that the send tag is always written last Sep 14, 2018
@bwbarrett
Copy link
Member

bot:ompi:retest

Jenkins looks confused, I think because it ran out of disk space.

@hppritcha hppritcha added the NEWS label Sep 17, 2018
@hppritcha hppritcha merged commit 25766de into open-mpi:v2.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