Merge pull request #5147 from hppritcha/topic/plug_debug_hole_in_verbs
btl/openib: add conditional around an assert
Этот коммит содержится в:
Коммит
db45d61dfa
@ -3436,7 +3436,9 @@ progress_pending_frags_wqe(mca_btl_base_endpoint_t *ep, const int qpn)
|
|||||||
frag = opal_list_remove_first(&ep->qps[qpn].no_wqe_pending_frags[i]);
|
frag = opal_list_remove_first(&ep->qps[qpn].no_wqe_pending_frags[i]);
|
||||||
if(NULL == frag)
|
if(NULL == frag)
|
||||||
break;
|
break;
|
||||||
|
#if OPAL_ENABLE_DEBUG
|
||||||
assert(0 == frag->opal_list_item_refcount);
|
assert(0 == frag->opal_list_item_refcount);
|
||||||
|
#endif
|
||||||
tmp_ep = to_com_frag(frag)->endpoint;
|
tmp_ep = to_com_frag(frag)->endpoint;
|
||||||
ret = mca_btl_openib_endpoint_post_send(tmp_ep, to_send_frag(frag));
|
ret = mca_btl_openib_endpoint_post_send(tmp_ep, to_send_frag(frag));
|
||||||
if (OPAL_SUCCESS != ret) {
|
if (OPAL_SUCCESS != ret) {
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user