summaryrefslogtreecommitdiff
path: root/drivers/nvme/host/rdma.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/nvme/host/rdma.c')
-rw-r--r--drivers/nvme/host/rdma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c
index 37a4201d623d..a4608c362292 100644
--- a/drivers/nvme/host/rdma.c
+++ b/drivers/nvme/host/rdma.c
@@ -1525,6 +1525,7 @@ static void nvme_rdma_complete_rq(struct request *rq)
if (unlikely(rq->errors)) {
if (nvme_req_needs_retry(rq, rq->errors)) {
+ rq->retries++;
nvme_requeue_req(rq);
return;
}