Skip to contentSkip to conversation

nvme-rdma regression fix for 5.9

PATCH Applied Christoph Hellwig 2 participants 3 messages Jun 23, 2020 NVMe

lore
Share & tools
lore
author maintainer
#1 lore raw

PATCH 1/1 nvme-rdma: fix a missing completion with remove invalidation

Revert and incorret transformation that caused requests using remote invalidation to never complete.

Fixes 421147be863b ("nvme-rdma: factor out a nvme_rdma_end_request helper")
---
 drivers/nvme/host/rdma.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/nvme/host/rdma.c +3 -2
index 97b1054efb8409..6d5c4495f352ea 100644
@@ -1696,9 +1696,10 @@ static void nvme_rdma_process_nvme_rsp(struct nvme_rdma_queue *queue,
 			nvme_rdma_error_recovery(queue->ctrl);
 		}
 		/* the local invalidation completion will end the request */
-	} else {
-		nvme_rdma_end_request(req);
+		return;
 	}
+
+	nvme_rdma_end_request(req);
 }
 
 static void nvme_rdma_recv_done(struct ib_cq *cq, struct ib_wc *wc)
Signature · 7 lines
2.26.2


_______________________________________________
Linux-nvme mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-nvme
maintainer Applied
#2 lore raw

Re: [PATCH] nvme-rdma: fix a missing completion with remove invalidation

Quoted 2 lines · Christoph Hellwig

Revert and incorret transformation that caused requests using remote invalidation to never complete.

Applied to for-5.9/block, thanks.

Signature · 7 lines
Jens Axboe


_______________________________________________
Linux-nvme mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-nvme