nvme-rdma: teardown admin/io queues once on error recovery
authorSagi Grimberg <sagi@grimberg.me>
Wed, 11 Oct 2017 12:29:11 +0000 (15:29 +0300)
committerChristoph Hellwig <hch@lst.de>
Wed, 18 Oct 2017 17:27:53 +0000 (19:27 +0200)
commit5e1fe61d4170b1f498e20de92c7ce4cd5e40c3c5
tree147067195db034ab93342f901b9d3738d7b31aeb
parent0fc176dfdafc78e66bd74f54e487ca1fc59d01bf
nvme-rdma: teardown admin/io queues once on error recovery

Relying on the queue state while tearing down on every reconnect
attempt is not a good design. We should do it once in err_work
and simply try to establish the queues for each reconnect attempt.

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