- check for null return
- disable debug This commit was SVN r8070.
Этот коммит содержится в:
родитель
55051b81c4
Коммит
b5ed723ea4
@ -192,11 +192,13 @@ mca_btl_base_descriptor_t* mca_btl_mvapi_alloc(
|
||||
|
||||
if(size <= mca_btl_mvapi_component.eager_limit){
|
||||
MCA_BTL_IB_FRAG_ALLOC_EAGER(btl, frag, rc);
|
||||
if(NULL == frag) return NULL;
|
||||
frag->segment.seg_len =
|
||||
size <= mca_btl_mvapi_component.eager_limit ?
|
||||
size: mca_btl_mvapi_component.eager_limit ;
|
||||
} else {
|
||||
MCA_BTL_IB_FRAG_ALLOC_MAX(btl, frag, rc);
|
||||
if(NULL == frag) return NULL;
|
||||
frag->segment.seg_len =
|
||||
size <= mca_btl_mvapi_component.max_send_size ?
|
||||
size: mca_btl_mvapi_component.max_send_size ;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user