NVMe write protection support
Christoph Hellwig
hch at infradead.org
Mon Aug 1 11:34:31 PDT 2022
On Mon, Aug 01, 2022 at 08:36:12AM +0000, Gilles Buloz wrote:
> Dear developers,
> In case an NVMe module has a write protection feature,
Do you mean the "Namespace Write Protection Config", Feature Identifier
84h? In that case you need to set bit 0 in the NSATTR field in the
Identify Namespace data structure(s) and the kernel will mark the
namespace read only.
If you mean something else, please clarify.
More information about the Linux-nvme
mailing list