]> git.baikalelectronics.ru Git - kernel.git/commit
nvme/pci: Poll CQ on timeout
authorKeith Busch <keith.busch@intel.com>
Fri, 24 Feb 2017 22:59:28 +0000 (17:59 -0500)
committerChristoph Hellwig <hch@lst.de>
Fri, 21 Apr 2017 14:41:55 +0000 (16:41 +0200)
commit9685759618adbafa46ced8b09bedac89fdb73209
tree9ab89673ad47e3db66dabc60672b34ebfcb7ac52
parent3c4b8a70afd751f0232178a7bcfc225562eacbd9
nvme/pci: Poll CQ on timeout

If an IO timeout occurs, it's helpful to know if the controller did not
post a completion or the driver missed an interrupt. While we never expect
the latter, this patch will make it possible to tell the difference so
we don't have to guess.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
drivers/nvme/host/pci.c