Skip to content

RFC nvme: add support for command quiesce timeout

Daniel Wagner linux-nvme lkml 1 version In review

Get series with b4
b4 am [email protected] change-id 20241128-tp4129-a45b998b20cb

Versions newest first

  1. v1 RFC Latest3 patches 35 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nvmet: add command quiesce timedrivers/nvme/target/admin-cmd.c drivers/nvme/target/nvmet.h include/linux/nvme.h+10 -13 replies
2/3nvme: store cqt value into nvme ctrl objectdrivers/nvme/host/core.c drivers/nvme/host/nvme.h+2 -01 reply
3/3nvme: delay failover by command quiesce timeoutdrivers/nvme/host/core.c drivers/nvme/host/fc.c drivers/nvme/host/multipath.c +3 more+90 -331 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchHannes Reinecke
1/3R-b
2/3R-b
3/3

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

Read the v1 thread

Cover letter [PATCH RFC 0/3] nvme: add support for command quiesce timeout

This is thought just as discussion input for the KATO session during LSFMM.

The last patch is the interesting part. When commands is failed over to the next path, it delays the requeuing on ctrl level. The implemention is on purpose not implementing all the details. Just the very basics so it's easy to understand what the main idea is.

---
Daniel Wagner (3):
nvmet: add command quiesce time
nvme: store cqt value into nvme ctrl object
nvme: delay failover by command quiesce timeout

 drivers/nvme/host/core.c        | 20 ++++++++++++++++
 drivers/nvme/host/fc.c          |  4 ++++
 drivers/nvme/host/multipath.c   | 52 ++++++++++++++++++++++++++++++++++++++---
 drivers/nvme/host/nvme.h        | 16 +++++++++++++
 drivers/nvme/host/rdma.c        |  2 ++
 drivers/nvme/host/tcp.c         |  1 +
 drivers/nvme/target/admin-cmd.c |  6 +++++
 drivers/nvme/target/nvmet.h     |  1 +
 include/linux/nvme.h            |  4 +++-
 9 files changed, 102 insertions(+), 4 deletions(-)

---
base-commit: 25462bccac81486c2fff0fa4b4c2b1e56751b8de
change-id: 20241128-tp4129-a45b998b20cb

Best regards,

Signature · 1 line
Daniel Wagner <[email protected]>