- Fix a bug in descriptor handling code. The self BTL was mixing the different
kinds of descriptors (e.g. put rdma descriptor in the eager free-list). This part 1 of the fix for ticket #246. This commit was SVN r12291.
Этот коммит содержится в:
родитель
601443e690
Коммит
3563f15fde
@ -178,9 +178,9 @@ extern int mca_btl_self_free(
|
|||||||
mca_btl_base_descriptor_t* des)
|
mca_btl_base_descriptor_t* des)
|
||||||
{
|
{
|
||||||
mca_btl_self_frag_t* frag = (mca_btl_self_frag_t*)des;
|
mca_btl_self_frag_t* frag = (mca_btl_self_frag_t*)des;
|
||||||
if(frag->size <= mca_btl_self.btl_eager_limit) {
|
if(frag->size == mca_btl_self.btl_eager_limit) {
|
||||||
MCA_BTL_SELF_FRAG_RETURN_EAGER(frag);
|
MCA_BTL_SELF_FRAG_RETURN_EAGER(frag);
|
||||||
} else if (frag->size <= mca_btl_self.btl_max_send_size) {
|
} else if (frag->size == mca_btl_self.btl_max_send_size) {
|
||||||
MCA_BTL_SELF_FRAG_RETURN_SEND(frag);
|
MCA_BTL_SELF_FRAG_RETURN_SEND(frag);
|
||||||
} else {
|
} else {
|
||||||
MCA_BTL_SELF_FRAG_RETURN_RDMA(frag);
|
MCA_BTL_SELF_FRAG_RETURN_RDMA(frag);
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user