]> www.infradead.org Git - users/hch/block.git/commit
nvme-sysfs: add 'tls_keyring' attribute
authorHannes Reinecke <hare@kernel.org>
Mon, 22 Jul 2024 12:02:24 +0000 (14:02 +0200)
committerKeith Busch <kbusch@kernel.org>
Thu, 22 Aug 2024 20:25:11 +0000 (13:25 -0700)
commit02a3688c53d648e027ca9c27423bf864a189d7c7
tree5abf28d7ebe30fe613f01436a829b6ecb0a19068
parentf5eb7397471bbc24d63011f8cb2d422ac606085d
nvme-sysfs: add 'tls_keyring' attribute

Add a 'tls_keyring' attribute to display the contents of the
--keyring option from the connect string. Adding this attribute
allows us to recreate the original connect string from sysfs
settings.

Signed-off-by: Hannes Reinecke <hare@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/sysfs.c