nvme-rdma: don't fully stop the controller in error recovery
authorSagi Grimberg <sagi@grimberg.me>
Thu, 21 Sep 2017 14:01:38 +0000 (17:01 +0300)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Sep 2017 18:42:11 +0000 (12:42 -0600)
commite4d753d7e51c0648b9ee33efeed55d45f362fc3d
tree1a6f7b931f228ccd4d4bc5bd0cc8d2e982f85763
parent0a960afd60d02808c7f7f36d4aa8a2e07045e1e9
nvme-rdma: don't fully stop the controller in error recovery

By calling nvme_stop_ctrl on a already failed controller will wait for the
scan work to complete (only by identify timeout expiration which is 60
seconds). This is unnecessary when we already know that the controller has
failed.

Reported-by: Yi Zhang <yizhan@redhat.com>
Signed-off-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/rdma.c