From b5deb228f323ca3ccfc7b3328075f5e177becd9e Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Mon, 13 Apr 2009 23:41:50 +0000 Subject: [PATCH] Allow the BTL to release the descriptor. In fact the only thing the PML needs is to be involved in the RMA completion process, which is insured by the MCA_BTL_DES_SEND_ALWAYS_CALLBACK flag. Fixes trac:1875. This commit was SVN r20983. The following Trac tickets were found above: Ticket 1875 --> https://svn.open-mpi.org/trac/ompi/ticket/1875 --- ompi/mca/pml/ob1/pml_ob1_recvreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/mca/pml/ob1/pml_ob1_recvreq.c b/ompi/mca/pml/ob1/pml_ob1_recvreq.c index 236d40db7e..f6ad912021 100644 --- a/ompi/mca/pml/ob1/pml_ob1_recvreq.c +++ b/ompi/mca/pml/ob1/pml_ob1_recvreq.c @@ -362,7 +362,7 @@ int mca_pml_ob1_recv_request_get_frag( mca_pml_ob1_rdma_frag_t* frag ) MCA_BTL_NO_ORDER, 0, &frag->rdma_length, - 0, /* always call the callback, PML ownership */ + MCA_BTL_DES_FLAGS_BTL_OWNERSHIP | MCA_BTL_DES_SEND_ALWAYS_CALLBACK, &descriptor ); if( OPAL_UNLIKELY(NULL == descriptor) ) { frag->rdma_length = save_size;