linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv3 0/2] nvme: sanitize KATO setting
@ 2021-03-11 10:37 Hannes Reinecke
  2021-03-11 10:37 ` [PATCH 1/2] " Hannes Reinecke
  2021-03-11 10:37 ` [PATCH 2/2] nvme: add 'kato' sysfs attribute Hannes Reinecke
  0 siblings, 2 replies; 6+ messages in thread
From: Hannes Reinecke @ 2021-03-11 10:37 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: Sagi Grimberg, Keith Busch, linux-nvme, Hannes Reinecke

Hi all,

as reserved tag allocation issues are solved with a different patchset,
here are just the bits to sanitize and expose the KATO value to sysfs.
Exposing it to sysfs will allow userspace to identify persistent discovery
controllers (which will have a non-zero KATO value); a patch for that
has been sent to the nvme-cli github repository.

As usual, comments and reviews are welcome.

Hannes Reinecke (2):
  nvme: sanitize KATO setting
  nvme: add 'kato' sysfs attribute

 drivers/nvme/host/core.c    |  8 +++++---
 drivers/nvme/host/fabrics.c |  4 +---
 drivers/nvme/host/nvme.h    | 16 +++++++++++++++-
 3 files changed, 21 insertions(+), 7 deletions(-)

-- 
2.29.2


_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme

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

end of thread, other threads:[~2021-03-15 17:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11 10:37 [PATCHv3 0/2] nvme: sanitize KATO setting Hannes Reinecke
2021-03-11 10:37 ` [PATCH 1/2] " Hannes Reinecke
2021-03-11 10:55   ` Christoph Hellwig
2021-03-15 17:23     ` Sagi Grimberg
2021-03-11 10:37 ` [PATCH 2/2] nvme: add 'kato' sysfs attribute Hannes Reinecke
2021-03-15 17:22   ` Sagi Grimberg

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).