1
1

This fixes trac:2265 removing a race in the openib btl endpoint when

increasing sequence numbers. cmr:v1.4

This commit was SVN r22684.

The following Trac tickets were found above:
  Ticket 2265 --> https://svn.open-mpi.org/trac/ompi/ticket/2265
Этот коммит содержится в:
Christopher Yeoh 2010-02-23 12:46:06 +00:00
родитель c1dcf1c164
Коммит f79263550c

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

@ -500,7 +500,9 @@ static inline int post_send(mca_btl_openib_endpoint_t *ep,
MCA_BTL_OPENIB_RDMA_FRAG_SET_SIZE(ftr, sg->length);
MCA_BTL_OPENIB_RDMA_MAKE_LOCAL(ftr);
#if OPAL_ENABLE_DEBUG
ftr->seq = ep->eager_rdma_remote.seq++;
do {
ftr->seq = ep->eager_rdma_remote.seq;
} while (!OPAL_ATOMIC_CMPSET_32(&ep->eager_rdma_remote.seq, ftr->seq, ftr->seq+1));
#endif
if(ep->nbo)
BTL_OPENIB_FOOTER_HTON(*ftr);