[PATCHv3 0/2] nvme: sanitize KATO setting
Hannes Reinecke
hare at suse.de
Thu Mar 11 10:37:25 GMT 2021
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
More information about the Linux-nvme
mailing list