Re: [PATCH v2 4/4] nvme: Allow reauth from sysfs
From: Christoph Hellwig
Date: Wed Nov 12 2025 - 01:56:58 EST
On Wed, Nov 12, 2025 at 09:45:18AM +1000, alistair23@xxxxxxxxx wrote:
> From: Alistair Francis <alistair.francis@xxxxxxx>
>
> 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 :(