[PATCH 3/7] nvme-pci: remove struct nvme_descriptor
Christoph Hellwig
hch at lst.de
Tue May 13 22:15:54 PDT 2025
On Tue, May 13, 2025 at 06:07:11PM -0700, Caleb Sander Mateos wrote:
> > - union nvme_descriptor list[NVME_MAX_NR_ALLOCATIONS];
> > + void *meta_descriptor;
>
> It looks like only the sg_list variant of meta_list is currently used.
> Should this just be a struct nvme_sgl_desc *?
Good question. type safety is always good, and given how the metadata
pointer work adding anything else is highly unlikely. OTOH it would
make things a little less symmetric, but I guess we can live with that.
More information about the Linux-nvme
mailing list