Skip to content

Adding per-controller timeout support to nvme

Maximilian Heyne linux-nvme lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 7 repliesIn review
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- implement the change not only for the pci NVMe driver but also for fc, lightnvm, rdma, tcp and loop.
- add an additional check when updating timeouts to not race with controller creation or deletion

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nvme: add per-controller io and admin timeoutsdrivers/nvme/host/core.c drivers/nvme/host/fc.c drivers/nvme/host/lightnvm.c +5 more+24 -180 replies
2/2nvme: add sysfs controls for io and admin timeoutsdrivers/nvme/host/core.c+112 -01 reply

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchMilan Pandurov
1/2Original-patch-by
2/2Original-patch-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Adding per-controller timeout support to nvme

As different nvme controllers are connect via different fabrics, some require different timeout settings than others. This series implements per-controller timeouts in the nvme subsystem which can be set via sysfs.

We have reached out to the NVMe working group to implement per-controller timeout values. These patches are paving the way for this.

Changes since v1:
- implement the change not only for the pci NVMe driver but also for fc, lightnvm, rdma, tcp and loop.
- add an additional check when updating timeouts to not race with controller creation or deletion

Maximilian Heyne (2):
nvme: add per-controller io and admin timeouts
nvme: add sysfs controls for io and admin timeouts

 drivers/nvme/host/core.c     | 123 +++++++++++++++++++++++++++++++++++++++++--
 drivers/nvme/host/fc.c       |   2 +-
 drivers/nvme/host/lightnvm.c |   2 +-
 drivers/nvme/host/nvme.h     |   2 +
 drivers/nvme/host/pci.c      |  13 ++---
 drivers/nvme/host/rdma.c     |   4 +-
 drivers/nvme/host/tcp.c      |   4 +-
 drivers/nvme/target/loop.c   |   4 +-
 8 files changed, 136 insertions(+), 18 deletions(-)
Signature · 11 lines
2.16.5




Amazon Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrer: Christian Schlaeger, Ralf Herbrich
Ust-ID: DE 289 237 879
Eingetragen am Amtsgericht Charlottenburg HRB 149173 B