linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/4] Fix host side state machine
@ 2018-01-24 16:57 Max Gurtovoy
  2018-01-24 16:57 ` [PATCH 1/4] nvme: rename NVME_CTRL_RECONNECTING state to NVME_CTRL_CONNECTING Max Gurtovoy
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Max Gurtovoy @ 2018-01-24 16:57 UTC (permalink / raw)


Hi all,
this series is rebased above nvme-4.16 and Jianchao Wang's commit:
"nvme-pci: introduce RECONNECTING state to mark initializing procedure"
Actually there is a still missing part in this tree (but I tested it on
my own "stable" mixed kernel):
"nvme-rdma: fix concurrent reset and reconnect" from Sagi.

The first motivation for this series was fixing RDMA initiator that crushes in
case we fail during initial connect and start error recovery during initial
connection establishment.
This patchset also renames NVME_CTRL_RECONNECTING to NVME_CTRL_CONNECTING as
this state doesn't represent only a reconnection flow but also used for
initialization process.
I haven't dived into the FC code yet (I can do it myself, but I would like to
have some comments from FC guys as well), but I guess we need to change a thing
or two in fc-host too.

Max Gurtovoy (4):
  nvme: rename NVME_CTRL_RECONNECTING state to NVME_CTRL_CONNECTING
  nvme-rdma: use NVME_CTRL_CONNECTING state to mark init process
  nvme: delete NVME_CTRL_LIVE --> NVME_CTRL_CONNECTING transition
  nvme: delete NVME_CTRL_NEW --> NVME_CTRL_LIVE transition

 drivers/nvme/host/core.c    | 13 ++++++-------
 drivers/nvme/host/fabrics.h |  9 +++++----
 drivers/nvme/host/fc.c      | 14 +++++++-------
 drivers/nvme/host/nvme.h    |  2 +-
 drivers/nvme/host/pci.c     |  8 ++++----
 drivers/nvme/host/rdma.c    |  7 +++++--
 6 files changed, 28 insertions(+), 25 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-01-25 11:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-24 16:57 [PATCH v1 0/4] Fix host side state machine Max Gurtovoy
2018-01-24 16:57 ` [PATCH 1/4] nvme: rename NVME_CTRL_RECONNECTING state to NVME_CTRL_CONNECTING Max Gurtovoy
2018-01-24 16:57 ` [PATCH 2/4] nvme-rdma: use NVME_CTRL_CONNECTING state to mark init process Max Gurtovoy
2018-01-24 16:57 ` [PATCH 3/4] nvme: delete NVME_CTRL_LIVE --> NVME_CTRL_CONNECTING transition Max Gurtovoy
2018-01-24 16:57 ` [PATCH 4/4] nvme: delete NVME_CTRL_NEW --> NVME_CTRL_LIVE transition Max Gurtovoy
2018-01-24 19:33 ` [PATCH v1 0/4] Fix host side state machine Sagi Grimberg
2018-01-25 11:31   ` Max Gurtovoy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).