Re: [PATCH 3/3] nvme: Allow reauth from sysfs

From: Christoph Hellwig

Date: Wed Nov 12 2025 - 02:03:03 EST


On Wed, Nov 12, 2025 at 09:32:00AM +1000, Alistair Francis wrote:
> > I would suggest just allow writes to the 'tls_key' attribute; any
> > writes to that would trigger a replacepsk operation.
>
> I think the `tls_configured_key` is actually the better attribute to
> write to as that is the one that updates after a REPLACETLSPSK
> operation, see v2 patches which I'm sending now.

Just saw Hannes reply here and saw why you did the current version
the way I did. Hannes, please don't recommend weird ABIs that
make error checking and future extensibility impossible.