[PATCH 1/2] nvmet: make 'readonly' setting configurable
Christoph Hellwig
hch at lst.de
Thu Apr 3 23:25:10 PDT 2025
On Thu, Apr 03, 2025 at 04:47:46PM +0200, Hannes Reinecke wrote:
> The namespace already has a 'readonly' setting, which is controlled
> by the 'write protect' feature.
> This patch introduces a namespace
> configfs attribute 'readonly' to make it settable by the admin.
Please describe the spec feature this corresponds to, and why setting
the NSATTR CWP flag without a formal write protect is fine. From
looking at the language in the spec it probably is, but that really
needs to go into a commit log.
More information about the Linux-nvme
mailing list