Skip to content

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 v3.1.3 milestone Sep 14, 2018
@hjelmn hjelmn requested a review from jsquyres September 14, 2018 18:36
@jsquyres jsquyres changed the title btl/vader: ensure that the send tag is always written last v3.1.x: btl/vader: ensure that the send tag is always written last Sep 14, 2018
@ibm-ompi
Copy link

The IBM CI (GNU Compiler) build failed! Please review the log, linked below.

Gist: https://gist.github.com/ibm-ompi/88b480fb98dfd2bdac939f023e1f8fe6

@hjelmn
Copy link
Member Author

hjelmn commented Sep 16, 2018

:bot:retest:

@bwbarrett bwbarrett merged commit c6c5bf5 into open-mpi:v3.1.x Sep 18, 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