[RFC 3/3] nvme : Add ioctl to query nvme attributes

Joel Granados j.granados at samsung.com
Fri Oct 28 08:52:30 PDT 2022


On Fri, Oct 28, 2022 at 08:52:01AM -0600, Keith Busch wrote:
> On Fri, Oct 28, 2022 at 12:38:27PM +0200, Joel Granados wrote:
> > 3. And the variables that are not in struct nvme_ctrl. Here, we have not
> >    option but to make an IO.
> 
> You do have another option: we have historically added new fields to
> nvme_ctrl to cache parameters that are repeatedly referenced in other
> contexts, and this usage appears to qualify.

Agreed. That is yet another option. Will do that for my V1.
Thx for the feedback

Best
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-nvme/attachments/20221028/168762de/attachment.sig>


More information about the Linux-nvme mailing list