nvme-rdma: give up reconnect if state change fails
authorSagi Grimberg <[email protected]>
Thu, 21 Sep 2017 14:01:37 +0000 (17:01 +0300)
committerJens Axboe <[email protected]>
Mon, 25 Sep 2017 18:42:11 +0000 (12:42 -0600)
commit0a960afd60d02808c7f7f36d4aa8a2e07045e1e9
tree595bbd5401dd60817b57e36f1a457eae9786202f
parent1a40d97288c6ffea9b355139e88fa62f0e5439f7
nvme-rdma: give up reconnect if state change fails

If we failed to transition to state LIVE after a successful reconnect,
then controller deletion already started. In this case there is no
point moving forward with reconnect.

Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
drivers/nvme/host/rdma.c