Skip to content

Commit

Permalink
Merge pull request open-mpi#10548 from janjust/v5.0.x
Browse files Browse the repository at this point in the history
v5.0.x: osc/ucx: trigger opal progress only if no progress is made inside flush
  • Loading branch information
janjust authored Jul 11, 2022
2 parents d611452 + aac5678 commit 70b2e04
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion opal/mca/common/ucx/common_ucx_wpool.h
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,9 @@ static inline int opal_common_ucx_wait_request_mt(ucs_status_ptr_t request, cons
ctr--;
} while (ctr > 0 && ret > 0 && status == UCS_INPROGRESS);
opal_mutex_unlock(&winfo->mutex);
opal_progress();
if (!ctr) {
opal_progress();
}
} while (status == UCS_INPROGRESS);

return OPAL_SUCCESS;
Expand Down

0 comments on commit 70b2e04

Please sign in to comment.