]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NVMe: Requeue requests on suspended queues
authorKeith Busch <keith.busch@intel.com>
Thu, 11 Feb 2016 20:05:42 +0000 (13:05 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:41:02 +0000 (13:41 -0700)
commitd886b18c0b51fdf08358c7a355d6bfa1eaca7260
tree9129624fb680eea13076df7c9725581228e6e145
parent2d6cb2695e20960869a6b0c2538bfbd5c0b3a8c2
NVMe: Requeue requests on suspended queues

It's possible a request may get to the driver after the nvme queue was
disabled. This has the request requeue if that happens.

Note the request is still "started" by the driver, but requeuing will
clear the start state for timeout handling.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from commit 2850713576e81e3b887cd92a9965fba0dd1717c0)

Orabug: 25130845

Signed-off-by: Ashok Vairavan <ashok.vairavan@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/nvme/host/pci.c