Skip to content

Conversation

@tkordenbrock
Copy link
Member

The Portals4 BTL is registered with the PML as an RDMA BTL, so prepare_src() is only used in the limited cases. This PR removes an unused code path from prepare_src() and moves some of that functionality to register_mem().

@regrant - please review

In the large message case, the sender issues a PtlMEAppend() in
order to generate events when the receiver issues a PtlGet().  This
commit moves the PtlMEAppend() from mca_btl_portals4_prepare_src()
to mca_btl_portals4_register_mem() which is the way it's done in
BTL 3.0.
The Portals4 BTL is registered with the PML as an RDMA BTL, so
prepare_src() is only used in limited cases.  This commit removes
the code path from prepare_src() for unbuffered contiguous buffers
with no PML reserve.  This is now handled in register_mem().
@tkordenbrock tkordenbrock changed the title fix bugs in the Portals4 BTL after the port to BTL3 interface btl-portals4: fix bugs in the Portals4 BTL after the port to BTL3 interface Apr 21, 2015
@mellanox-github
Copy link

Refer to this link for build results (access rights to CI server needed):
http://bgate.mellanox.com/jenkins/job/gh-ompi-master-pr/464/
Test PASSed.

@regrant
Copy link
Contributor

regrant commented Apr 22, 2015

Reviewed. Looks good - merged.

regrant added a commit that referenced this pull request Apr 22, 2015
…atch

btl-portals4: fix bugs in the Portals4 BTL after the port to BTL3 interface
@regrant regrant merged commit 0e528be into open-mpi:master Apr 22, 2015
@tkordenbrock tkordenbrock deleted the topic/btl30.large.message.patch branch April 29, 2015 12:51
jsquyres pushed a commit to jsquyres/ompi that referenced this pull request Nov 10, 2015
…_prototypes_fixes

Topic/v2.x/mpi osc prototypes fixes
markalle pushed a commit to markalle/ompi that referenced this pull request Sep 12, 2020
[221468] removing an overly aggressive error check in binding
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