nvme-pci: don't poll from irq context when deleting queues
authorChristoph Hellwig <hch@lst.de>
Sun, 2 Dec 2018 16:46:22 +0000 (17:46 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 4 Dec 2018 18:38:18 +0000 (11:38 -0700)
commitd1ed6aa14bc418531220478604c7b12c5e98fdca
tree1f327452e0e45b4bf5fb7ef03c2dbe2510a295e0
parent5271edd41dd895773d3105f5065bbf5ded0dee7c
nvme-pci: don't poll from irq context when deleting queues

This is the last place outside of nvme_irq that handles CQEs from
interrupt context, and thus is in the way of removing the cq_lock for
normal queues, and avoiding lockdep warnings on the poll queues, for
which we already take it without IRQ disabling.

Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/pci.c