The function rdma_poll_cq is called from two contexts - completion handler thread which sense new completion on backend channel and explicitly as result of guest issuing poll_cq command. Add lock to protect against concurrent executions. Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com> Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com> Message-Id: <1552300155-25216-4-git-send-email-yuval.shaia@oracle.com> Reviewed-by: Kamal Heib <kamalheib1@gmail.com> Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com> |
||
---|---|---|
.. | ||
vmw | ||
Makefile.objs | ||
rdma_backend.c | ||
rdma_backend.h | ||
rdma_backend_defs.h | ||
rdma_rm.c | ||
rdma_rm.h | ||
rdma_rm_defs.h | ||
rdma_utils.c | ||
rdma_utils.h | ||
trace-events |