[PATCH v4 5/6] nvme: Add Support for Opal: Unlock from S3 & Opal Allocation/Ioctls

Christoph Hellwig hch at infradead.org
Tue Jan 24 00:14:52 PST 2017


On Sun, Jan 08, 2017 at 06:20:20AM -0800, Christoph Hellwig wrote:
> > +	ns = container_of(ctx, struct nvme_ns, sed_ctx);
> > +	cmd.common.nsid = cpu_to_le32(ns->ns_id);
> 
> Until we support the configurable namespace locking extension we should
> have the sed_ctx in the nvme_ctrl structure, and not be tried to a
> namespace here.  I hope to get some concensus out of the working group
> about which value to pass exactly soon.

No progress on that yet.  What do you think about just passing in the
nn value from the Identify Controller structure in here for now, as that
should always be a valid nsid?



More information about the Linux-nvme mailing list