commit | b754a32c66772e6510acd92237aadd4cf227ae39 | [log] [tgz] |
---|---|---|
author | Max Gurtovoy <maxg@mellanox.com> | Wed Jan 31 18:31:25 2018 +0200 |
committer | Sagi Grimberg <sagi@grimberg.me> | Thu Feb 08 18:35:53 2018 +0200 |
tree | cf770175ac62bb3dc87a57d8e061d9e13cb1c268 | |
parent | ad6a0a52e6de3d1161b7999c7903db906ba4cf79 [diff] |
nvme-rdma: use NVME_CTRL_CONNECTING state to mark init process In order to avoid concurrent error recovery during initialization process (allowed by the NVME_CTRL_NEW --> NVME_CTRL_RESETTING transition) we must mark the ctrl as CONNECTING before initial connection establisment. Signed-off-by: Max Gurtovoy <maxg@mellanox.com> Reviewed-by: James Smart <james.smart@broadcom.com> Signed-off-by: Sagi Grimberg <sagi@grimberg.me>