Skip to content

Fix issues with nvme_mpath_update

Anton Eidelman linux-nvme 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesIn review
  2. v22 patches 0 repliesSuperseded
  3. v11 patch 0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nvme: fix build error: nvme_mpath_update stub without staticdrivers/nvme/host/nvme.h+1 -11 reply
2/2nvme/mpath: fix crash in nvme_mpath_update for non-ana ctrldrivers/nvme/host/multipath.c+6 -41 reply

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/2] Fix issues with nvme_mpath_update

My recent commit d50c992edf10
("nvme-multipath: fix hang when disk goes live over reconnect") introduced two issues:
1) Build error with CONFIG_NVME_MULTIPATH=n
- missing "static inline" for the nvme_mpath_update() stub.
2) Crash when CONFIG_NVME_MULTIPATH=y but
either multipath is off or the ctrl is not ANA-enabled.

Fixing both - sorry for inconvenience.

Anton Eidelman (2):
nvme: fix build error: nvme_mpath_update stub without static nvme/mpath: fix crash in nvme_mpath_update for non-ana ctrl

 drivers/nvme/host/multipath.c | 10 ++++++----
 drivers/nvme/host/nvme.h      |  2 +-
 2 files changed, 7 insertions(+), 5 deletions(-)
Signature · 1 line
2.25.1