aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/cpus.py
diff options
context:
space:
mode:
authorSagi Grimberg <[email protected]>2017-11-23 17:35:22 +0200
committerChristoph Hellwig <[email protected]>2017-11-26 15:33:32 +0100
commit4af7f7ff92a42b6c713293c99e7982bcfcf51a70 (patch)
tree49ab3f97188e32b101fd008db4205024ff8109fd /scripts/gdb/linux/cpus.py
parentb4b591c87f2b0f4ebaf3a68d4f13873b241aa584 (diff)
nvme-rdma: don't complete requests before a send work request has completed
In order to guarantee that the HCA will never get an access violation (either from invalidated rkey or from iommu) when retrying a send operation we must complete a request only when both send completion and the nvme cqe has arrived. We need to set the send/recv completions flags atomically because we might have more than a single context accessing the request concurrently (one is cq irq-poll context and the other is user-polling used in IOCB_HIPRI). Only then we are safe to invalidate the rkey (if needed), unmap the host buffers, and complete the IO. Signed-off-by: Sagi Grimberg <[email protected]> Reviewed-by: Max Gurtovoy <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/cpus.py')
0 files changed, 0 insertions, 0 deletions