[PATCH 0/4] nvme: start keep-alive after admin queue setup

Hannes Reinecke hare at suse.de
Fri Oct 20 07:25:56 PDT 2023


Hi all,

Setting up I/O queues might take quite some time on larger and/or
busy setups, so KATO might expire on the admin queue before all
I/O queues can be setup.
This patchset fixes this issue by moving the calls to starting
and stopping KATO into the quiesce/unquiesce functions.
That requires some refactoring/alignment with some transport
drivers which do not always quiesce and unquiesce the admin
queue.

As usual, comments and reviews are welcome.

Hannes Reinecke (4):
  nvme-fc: add missing quiesce in nvme_fc_create_association()
  nvme-pci: unquiesce admin queue before nvme_init_ctrl_finish()
  nvme-loop: quiesce admin queue on failure
  nvme: start keep-alive after admin queue setup

 drivers/nvme/host/apple.c  |  4 ++--
 drivers/nvme/host/core.c   |  7 ++++---
 drivers/nvme/host/fc.c     | 16 +++++++++-------
 drivers/nvme/host/nvme.h   |  2 +-
 drivers/nvme/host/pci.c    |  9 ++++++---
 drivers/nvme/host/rdma.c   |  6 +++---
 drivers/nvme/host/tcp.c    |  6 +++---
 drivers/nvme/target/loop.c |  6 ++++--
 8 files changed, 32 insertions(+), 24 deletions(-)

-- 
2.35.3




More information about the Linux-nvme mailing list