function mca_btl_openib_endpoint_post_send can return 3 statuses:
- OMPI_SUCCESS - OMPI_ERROR - OMPI_ERR_RESOURCE_BUSY If an "OMPI_ERR_OUT_OF_RESOURCE" occurs, the request is added to the pending list, and will be handled later. An error message should not be printed to the user in this case. This is not an error, but rather a notification of a possible valid condition. Only in the case of "OMPI_ERROR" should it be printed to the user. This commit was SVN r27065.
Этот коммит содержится в:
родитель
cc091f4979
Коммит
b3b8a2a23a
@ -685,8 +685,9 @@ void mca_btl_openib_endpoint_connected(mca_btl_openib_endpoint_t *endpoint)
|
|||||||
frag = to_send_frag(frag_item);
|
frag = to_send_frag(frag_item);
|
||||||
/* We need to post this one */
|
/* We need to post this one */
|
||||||
|
|
||||||
if(OMPI_SUCCESS != mca_btl_openib_endpoint_post_send(endpoint, frag))
|
if (OMPI_ERROR == mca_btl_openib_endpoint_post_send(endpoint, frag)) {
|
||||||
BTL_ERROR(("Error posting send"));
|
BTL_ERROR(("Error posting send"));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
OPAL_THREAD_UNLOCK(&endpoint->endpoint_lock);
|
OPAL_THREAD_UNLOCK(&endpoint->endpoint_lock);
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user