nvme-rdma: stop queues instead of simply flipping their state
authorSagi Grimberg <sagi@grimberg.me>
Mon, 10 Jul 2017 06:22:35 +0000 (09:22 +0300)
committerSagi Grimberg <sagi@grimberg.me>
Mon, 28 Aug 2017 20:00:33 +0000 (23:00 +0300)
commit148b4e7ff31e4bb90cf7851ad1bcd305c292be2c
tree4b3eedc775be66323bfdea3940b970eb29b08667
parenta57bd54122232b32414748fc8b14634bfd74a7ff
nvme-rdma: stop queues instead of simply flipping their state

If we move the queues from LIVE state, we might as well stop them (drain
for rdma).  Do it after we stop the request queues to prevent a stray
request sneaking in .queue_rq after we stop the queue.

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