projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62eeacb
)
nvme-rdma: increment request retries counter before requeuing
author
Sagi Grimberg
<sagi@grimberg.me>
Wed, 29 Mar 2017 17:51:10 +0000
(20:51 +0300)
committer
Jens Axboe
<axboe@fb.com>
Tue, 4 Apr 2017 15:48:23 +0000
(09:48 -0600)
This way our max retry limit holds as well.
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/rdma.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/nvme/host/rdma.c
b/drivers/nvme/host/rdma.c
index 37a4201d623deb6436ae61a3e32bab76b2c33e05..a4608c36229261f8e12663f80210586419dc5c50 100644
(file)
--- 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;
}