]> asedeno.scripts.mit.edu Git - linux.git/commit
nvme-rdma: centralize controller setup sequence
authorSagi Grimberg <sagi@grimberg.me>
Mon, 9 Jul 2018 09:49:06 +0000 (12:49 +0300)
committerChristoph Hellwig <hch@lst.de>
Tue, 24 Jul 2018 13:55:49 +0000 (15:55 +0200)
commitc66e2998c8ca4d5da85d4915612dca29e054ad21
tree951eb6ca331becae77f5401ba576ad881d11da4c
parent90140624e8face94207003ac9a9d2a329b309d68
nvme-rdma: centralize controller setup sequence

Centralize controller sequence to a single routine that correctly cleans
up after failures instead of having multiple apperances in several flows
(create, reset, reconnect).

One thing that we also gain here are the sanity/boundary checks also
when connecting back to a dynamic controller.

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