1
1

- 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.
Этот коммит содержится в:
Sven Stork 2006-10-25 08:45:29 +00:00
родитель 601443e690
Коммит 3563f15fde

Просмотреть файл

@ -178,9 +178,9 @@ extern int mca_btl_self_free(
mca_btl_base_descriptor_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);
} 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);
} else {
MCA_BTL_SELF_FRAG_RETURN_RDMA(frag);