nvme-loop: increment request retries counter before requeuing
authorSagi Grimberg <sagi@grimberg.me>
Wed, 29 Mar 2017 17:54:15 +0000 (20:54 +0300)
committerJens Axboe <axboe@fb.com>
Tue, 4 Apr 2017 15:48:23 +0000 (09:48 -0600)
commit7d9a5e7176c60673b283bdb0e507d288b48d9528
tree6af9e45104d44371a654bb9bf8ed6796e6f2cd3b
parente806666e25dc29f81b659e12386f6168488fa9a6
nvme-loop: increment request retries counter before requeuing

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/target/loop.c