Skip to content

nvme-fc: track state change failures

Hannes Reinecke linux-nvme 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v13 patches 0 repliesSuperseded

Changes to v1 from the cover letter

- simplified accessor function as suggested by Minwoo Im
- Included suggestions from James Smart

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nvme: separate out nvme_ctrl_state_name()drivers/nvme/host/core.c drivers/nvme/host/nvme.h+23 -151 reply
2/3nvme-fc: track state change failures during reconnectdrivers/nvme/host/fc.c+7 -20 replies
3/3nvme-fc: fail reconnect if state change failsdrivers/nvme/host/fc.c+15 -01 reply
3/3nvme-fc: fail reconnect if state change fails+0 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCHv2 0/3] nvme-fc: track state change failures

Hi all,

this patchset improves logging in the nvme-fc driver if expcected state changes fail, and fixes up one case where a failed state change might lead to a stuck controller.

Changes to v1:
- simplified accessor function as suggested by Minwoo Im
- Included suggestions from James Smart

Hannes Reinecke (3):
nvme: separate out nvme_ctrl_state_name()
nvme-fc: track state change failures during reconnect
nvme-fc: fail reconnect if state change fails

 drivers/nvme/host/core.c | 37 ++++++++++++++++++++++---------------
 drivers/nvme/host/fc.c   | 24 ++++++++++++++++++++++--
 drivers/nvme/host/nvme.h |  1 +
 3 files changed, 45 insertions(+), 17 deletions(-)
Signature · 1 line
2.16.4