1
1

As the request is not yet updated (i.e. _MATCHED cannot be called as we don't yet know the

expected length of the message) we should use the source and tag from the message header
instead of the value from the status structure attached to the request.
-This line, and those below, will be ignored--

M    pml_ob1_recvreq.c

This commit was SVN r20844.
Этот коммит содержится в:
George Bosilca 2009-03-23 20:25:53 +00:00
родитель 8d313b55ef
Коммит daba352af4

Просмотреть файл

@ -483,7 +483,6 @@ void mca_pml_ob1_recv_request_progress_rget( mca_pml_ob1_recv_request_t* recvreq
MCA_PML_OB1_RECV_REQUEST_MATCHED(recvreq, &hdr->hdr_rndv.hdr_match);
/* if receive buffer is not contiguous we can't just RDMA read into it, so
* fall back to copy in/out protocol. It is a pity because buffer on the
* sender side is already registered. We need to be smarter here, perhaps
@ -997,10 +996,11 @@ void mca_pml_ob1_recv_req_start(mca_pml_ob1_recv_request_t *req)
PERUSE_TRACE_COMM_EVENT(PERUSE_COMM_REQ_MATCH_UNEX,
&(req->req_recv.req_base), PERUSE_RECV);
hdr = (mca_pml_ob1_hdr_t*)frag->segments->seg_addr.pval;
PERUSE_TRACE_MSG_EVENT(PERUSE_COMM_MSG_REMOVE_FROM_UNEX_Q,
req->req_recv.req_base.req_comm,
req->req_recv.req_base.req_ompi.req_status.MPI_SOURCE,
req->req_recv.req_base.req_ompi.req_status.MPI_TAG,
hdr->hdr_match.hdr_src,
hdr->hdr_match.hdr_tag,
PERUSE_RECV);
PERUSE_TRACE_COMM_EVENT(PERUSE_COMM_SEARCH_UNEX_Q_END,
@ -1010,7 +1010,6 @@ void mca_pml_ob1_recv_req_start(mca_pml_ob1_recv_request_t *req)
(opal_list_item_t*)frag);
OPAL_THREAD_UNLOCK(&comm->matching_lock);
hdr = (mca_pml_ob1_hdr_t*)frag->segments->seg_addr.pval;
switch(hdr->hdr_common.hdr_type) {
case MCA_PML_OB1_HDR_TYPE_MATCH:
mca_pml_ob1_recv_request_progress_match(req, frag->btl, frag->segments,