Commit f2cd54d3 authored by Sagi Grimberg's avatar Sagi Grimberg Committed by Jens Axboe
Browse files

nvme-fc: increment request retries counter before requeuing

This way our max retry limit holds as well.
Signed-off-by: default avatarSagi Grimberg <>
Reviewed-by: default avatarMax Gurtovoy <>
Reviewed-by: default avatarChristoph Hellwig <>
Signed-off-by: default avatarJens Axboe <>
parent 7d9a5e71
......@@ -1935,6 +1935,7 @@ nvme_fc_complete_rq(struct request *rq)
if (unlikely(rq->errors)) {
if (nvme_req_needs_retry(rq, rq->errors)) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment