summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/host/fabrics.c
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2018-01-24 14:55:12 -0700
committerChristoph Hellwig <hch@lst.de>2018-01-25 16:20:37 +0100
commitee9aebb27cbdac677525e0e56e8844cf4bf46461 (patch)
treebecc136f995d1527d7f21e590d9fe21c92a72e45 /drivers/nvme/host/fabrics.c
parent62314e405fa101dbb82563394f9dfc225e3f1167 (diff)
nvme-pci: Suspend queues after deleting them
The driver had been abusing the cq_vector state to know if new submissions were safe, but that was before we could quiesce blk-mq. If the controller happens to get an interrupt through while we're suspending those queues, 'no irq handler' warnings may occur. This patch will disable the interrupts only after the queues are deleted. Reported-by: Jianchao Wang <jianchao.w.wang@oracle.com> Tested-by: Jianchao Wang <jianchao.w.wang@oracle.com> Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/fabrics.c')
0 files changed, 0 insertions, 0 deletions