linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] keepalive bugfixes
@ 2023-05-24 19:38 Uday Shankar
  2023-05-24 19:38 ` [PATCH v4 1/3] nvme: double KA polling frequency to avoid KATO with TBKAS on Uday Shankar
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Uday Shankar @ 2023-05-24 19:38 UTC (permalink / raw)
  To: Costa Sapuntzakis, Randy Jennings, Hannes Reinecke,
	Sagi Grimberg, Keith Busch, Christoph Hellwig, Jens Axboe
  Cc: Uday Shankar, linux-nvme

While reviewing the Linux KATO implementation in an attempt to better
understand the current NVMe Keep Alive specification, we found a
few issues in the host implementation that could contribute to spurious
Keep Alive timeouts being detected by controllers.

Changes v3-v4 (https://lore.kernel.org/linux-nvme/20230518183311.3224326-1-ushankar@purestorage.com/):
- Patch 1: fix style, improve readability, include helper from patch 3
- Patch 2: refactor to remove need for WRITE_ONCE/barriers
- Patch 3: fix comment style, move helper to patch 1

Changes v2-v3 (https://lore.kernel.org/linux-nvme/20230424232225.1975793-1-ushankar@purestorage.com/):
- Patch 3: add a warning log line for long keepalive RTT

Changes v1-v2 (https://lore.kernel.org/linux-nvme/20230417225558.2890062-1-ushankar@purestorage.com/):
- Patch 2: fix indentation, set start_time even when stats disabled

Uday Shankar (3):
  nvme: double KA polling frequency to avoid KATO with TBKAS on
  nvme: check IO start time when deciding to defer KA
  nvme: improve handling of long keep alives

 drivers/nvme/host/core.c | 46 +++++++++++++++++++++++++++++++++++++---
 drivers/nvme/host/nvme.h |  4 ++--
 2 files changed, 45 insertions(+), 5 deletions(-)

-- 
2.25.1



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-05-24 20:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-24 19:38 [PATCH v4 0/3] keepalive bugfixes Uday Shankar
2023-05-24 19:38 ` [PATCH v4 1/3] nvme: double KA polling frequency to avoid KATO with TBKAS on Uday Shankar
2023-05-24 19:38 ` [PATCH v4 2/3] nvme: check IO start time when deciding to defer KA Uday Shankar
2023-05-24 20:39   ` Keith Busch
2023-05-24 19:38 ` [PATCH v4 3/3] nvme: improve handling of long keep alives Uday Shankar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).