[PATCHv2 0/3] nvme: multi-path scan races fixes

Keith Busch kbusch at meta.com
Thu Feb 26 10:32:13 PST 2026


From: Keith Busch <kbusch at kernel.org>

Changes from v1:

 * Added reviews and Fixes tags to patch 1

 * Redid the logic in patch 2 to match Christoph's suggestions

 * Also fixed a compile bug for CONFIG_NVME_MULTIPATH=n

 * Added a new patch 3 to fix a dependency race between multiple
   controller's scan_work

Keith Busch (3):
  nvme-multipath: fix leak on try_module_get failure
  nvme-multipath: rescan siblings on last path removal
  nvme: fix unmatched id's under delayed path deletion

 drivers/nvme/host/core.c      | 37 ++++++++++++++++++++++++++++++++++-
 drivers/nvme/host/multipath.c | 12 +++++-------
 drivers/nvme/host/nvme.h      |  9 +++++++++
 3 files changed, 50 insertions(+), 8 deletions(-)

-- 
2.47.3




More information about the Linux-nvme mailing list