]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4bd0cdda274dedc9c30dabac62f8144e8134f4b7
tree1f327452e0e45b4bf5fb7ef03c2dbe2510a295e0
parent713887b5c28f829de36711f961d99fb3e1eb0970
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