[PATCH v3 0/2] Fix issues with nvme_mpath_update
Anton Eidelman
anton.eidelman at gmail.com
Wed Mar 23 17:38:58 PDT 2022
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(-)
--
2.25.1
More information about the Linux-nvme
mailing list