Commit 394d46b7 authored by Kenneth Raffenetti's avatar Kenneth Raffenetti
Browse files

netmod/portals4: fix per target event counting

Ignore local completion events (SENDs) when counting outstanding
ops to remote targets.

No reviewer.
parent c80f2c4e
......@@ -547,7 +547,8 @@ static int get_event_info(ptl_event_t * event, struct rptl **ret_rptl, struct rp
op = (struct rptl_op *) event->user_ptr;
rptl_info.origin_events_left++;
op->target->issued_data_ops--;
if (event->type != PTL_EVENT_SEND)
op->target->issued_data_ops--;
/* see if there are any pending ops to be issued */
ret = poke_progress();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment