]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite8b15af476112360f5c9ae1c5941cae1b2d4b0d7
tree4b3eedc775be66323bfdea3940b970eb29b08667
parentc8eb057c74781f95af534e48162a021bb39a5354
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