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

From: Daniel Wagner
Date: Mon Mar 24 2025 - 08:08:16 EST


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.

Signed-off-by: Daniel Wagner <wagi@xxxxxxxxxx>
---
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,
--
Daniel Wagner <wagi@xxxxxxxxxx>