Skip to content

cleaning up nvme timeout over-dependence on global values

David Jeffery linux-nvme 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4nvme: use queue's configured timeout not global config value for passthrudrivers/nvme/host/core.c+0 -20 replies
2/4nvme: add sysfs attribute to change admin timeout per nvme devdrivers/nvme/host/sysfs.c+31 -00 replies
3/4nvme: pci: use admin queue timeout over NVME_ADMIN_TIMEOUTdrivers/nvme/host/pci.c+2 -10 replies
4/4nvme: use per device timeout waits over depending on global default valuedrivers/nvme/host/apple.c drivers/nvme/host/core.c drivers/nvme/host/nvme.h +3 more+14 -63 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] cleaning up nvme timeout over-dependence on global values

With nvme timeout handling, the global configuration options behind NVME_IO_TIMEOUT and NVME_ADMIN_TIMEOUT are broadly used in nvme timeout behavior.

This can become quite a problem with systems using mixed nvme transports. The timeoue values needed with local PCI devices may be very different from what is needed over tcp or other fabric transports. The intention of this patch series is to limit the NVME_IO_TIMEOUT and NVME_ADMIN_TIMEOUT values to providing only an initial timeout value which can then be overridden and configured separately per device. Thus, each device can have a timeout value configured to match its characteristics.

David Jeffery (4):
nvme: use queue's configured timeout not global config value for
passthru
nvme: add sysfs attribute to change admin timeout per nvme dev
nvme: pci: use admin queue timeout over NVME_ADMIN_TIMEOUT
nvme: use per device timeout waits over depending on global default
value

 drivers/nvme/host/apple.c |  2 +-
 drivers/nvme/host/core.c  | 12 +++++++++---
 drivers/nvme/host/nvme.h  |  2 +-
 drivers/nvme/host/pci.c   |  5 +++--
 drivers/nvme/host/rdma.c  |  2 +-
 drivers/nvme/host/sysfs.c | 31 +++++++++++++++++++++++++++++++
 drivers/nvme/host/tcp.c   |  2 +-
 7 files changed, 47 insertions(+), 9 deletions(-)
Signature · 1 line
2.46.0