Skip to content

Commit

Permalink
prov/shm: fix rma inject hang
Browse files Browse the repository at this point in the history
Add back in tx counter increment on inject path

Signed-off-by: Alexia Ingerson <alexia.ingerson@intel.com>
  • Loading branch information
aingerson committed Sep 21, 2023
1 parent b4b0365 commit 2b2f578
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions prov/shm/src/smr_rma.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,9 @@ static ssize_t smr_generic_rma_inject(struct fid_ep *ep_fid, const void *buf,
data, flags, NULL, &iov, 1, len, NULL,
smr_get_peer_ptr(ep->region, id, peer_id, rma_cmd));
out:
if (!ret)
ofi_ep_peer_tx_cntr_inc(&ep->util_ep, ofi_op_write);

ofi_genlock_unlock(&ep->util_ep.lock);
return ret;
}
Expand Down

0 comments on commit 2b2f578

Please sign in to comment.