]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-rdma: unquiesce queues when deleting the controller
authorSagi Grimberg <sagi@grimberg.me>
Mon, 9 Jul 2018 09:49:05 +0000 (12:49 +0300)
committerChristoph Hellwig <hch@lst.de>
Tue, 24 Jul 2018 13:55:49 +0000 (15:55 +0200)
commit31cb5fa27f780a94ad6da9d6d82b7b2972bcf538
tree9523c06165bd2424eb3f68801f775f20a21821ee
parent4616e0ae1bd07421c5a8f7a36c1db856bd0ad0cd
nvme-rdma: unquiesce queues when deleting the controller

If the controller is going away, we need to unquiesce the IO queues so
that all pending request can fail gracefully before moving forward with
controller deletion. Do that before we destroy the IO queues so
blk_cleanup_queue won't block in freeze.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/rdma.c