[PATCH v2 4/4] nvme: Allow reauth from sysfs

Christoph Hellwig hch at lst.de
Tue Nov 11 22:56:53 PST 2025


On Wed, Nov 12, 2025 at 09:45:18AM +1000, alistair23 at gmail.com wrote:
> From: Alistair Francis <alistair.francis at wdc.com>
> 
> Allow userspace to trigger a reauth (REPLACETLSPSK) from sysfs.
> This can be done by writing to the sysfs file.
> 
> echo 0 > /sys/devices/virtual/nvme-fabrics/ctl/nvme0/tls_configured_key

This now takes absolutely any write, right?  I think we should at least
be strict to force some value, and document it.

Which reminds me that Documentation/ABI/testing/sysfs-* is missing a
lot of nvme attributes it seems :(




More information about the Linux-nvme mailing list