Skip to content

nvme: sanitize multipathing

Hannes Reinecke linux-nvme 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6nvme: display 'CMIC' controller attributedrivers/nvme/host/core.c drivers/nvme/host/nvme.h+13 -01 reply
2/6nvme: use 'nvmsXnZ' instead of 'nvm-subXnZ'drivers/nvme/host/core.c+1 -13 replies
3/6nvme: claim block devicesdrivers/nvme/host/core.c drivers/nvme/host/nvme.h+25 -101 reply
3/6nvme: claim block devices+0 -01 reply
3/6nvme: claim block devices+0 -01 reply
3/6nvme: claim block devices+0 -06 replies
3/6nvme: claim block devices+0 -00 replies
4/6nvme: display 'NMIC' namespace attributedrivers/nvme/host/core.c drivers/nvme/host/nvme.h+13 -01 reply
4/6nvme: display 'NMIC' namespace attribute+0 -01 reply
4/6nvme: display 'NMIC' namespace attribute+0 -00 replies
5/6nvme: Export subsystems to /sys/class/nvme-subsysdrivers/nvme/host/core.c drivers/nvme/host/nvme.h+26 -124 replies
6/6nvme: ignore retries for multipath devicesdrivers/nvme/host/core.c+2 -11 reply
6/6nvme: ignore retries for multipath devices+0 -01 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/6] nvme: sanitize multipathing

Hi Christoph,

here's a patchset to sanitize nvme multipath handling, following the discusion we've had at ALPSS.
Here I've settled for the '/dev/nvmsXnZ' device nodes (which you said I could do :-), and added the necessary bits and piece to get it registered nicely with sysfs.
We've also found an issue when retrying I/O after path failures; we probably should be checking if this is multipath I/O before deciding on retry or not.

Patches are relative to your nvme-mpath branch.

As usual, comments and reviews are welcome.

Hannes Reinecke (5):
nvme: display 'CMIC' controller attribute
nvme: use 'nvmsXnZ' instead of 'nvm-subXnZ'
nvme: claim block devices
nvme: Export subsystems to /sys/class/nvme-subsys
nvme: ignore retries for multipath devices

Johannes Thumshirn (1):
nvme: display 'NMIC' namespace attribute

 drivers/nvme/host/core.c | 99 +++++++++++++++++++++++++++++++++++++-----------
 drivers/nvme/host/nvme.h |  5 ++-
 2 files changed, 80 insertions(+), 24 deletions(-)
Signature · 1 line
1.8.5.6