Merge pull request #6555 from EmmanuelBRELLE/PR-pmlob1_fix_rc_for_putfrag_when_get_failed
pml/ob1: fixed exit from get_frag_fail when falling back on btl_put
Этот коммит содержится в:
Коммит
9a9d106296
@ -336,7 +336,9 @@ static int mca_pml_ob1_recv_request_get_frag_failed (mca_pml_ob1_rdma_frag_t *fr
|
|||||||
if (OMPI_ERR_NOT_AVAILABLE == rc) {
|
if (OMPI_ERR_NOT_AVAILABLE == rc) {
|
||||||
/* get isn't supported for this transfer. tell peer to fallback on put */
|
/* get isn't supported for this transfer. tell peer to fallback on put */
|
||||||
rc = mca_pml_ob1_recv_request_put_frag (frag);
|
rc = mca_pml_ob1_recv_request_put_frag (frag);
|
||||||
if (OMPI_ERR_OUT_OF_RESOURCE == rc) {
|
if (OMPI_SUCCESS == rc){
|
||||||
|
return OMPI_SUCCESS;
|
||||||
|
} else if (OMPI_ERR_OUT_OF_RESOURCE == rc) {
|
||||||
OPAL_THREAD_LOCK(&mca_pml_ob1.lock);
|
OPAL_THREAD_LOCK(&mca_pml_ob1.lock);
|
||||||
opal_list_append (&mca_pml_ob1.rdma_pending, (opal_list_item_t*)frag);
|
opal_list_append (&mca_pml_ob1.rdma_pending, (opal_list_item_t*)frag);
|
||||||
OPAL_THREAD_UNLOCK(&mca_pml_ob1.lock);
|
OPAL_THREAD_UNLOCK(&mca_pml_ob1.lock);
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user