[PATCH v2 1/2] nvme-pci: Use size_t for length fields to handle larger sizes
Christoph Hellwig
hch at lst.de
Mon Nov 17 21:18:23 PST 2025
On Mon, Nov 17, 2025 at 12:35:40PM -0700, Keith Busch wrote:
> > + size_t total_len;
>
> Changing the generic phys_vec sounds fine, but the nvme driver has a 8MB
> limitation on how large an IO can be, so I don't think the driver's
> length needs to match the phys_vec type.
With the new dma mapping interface we could lift that limits for
SGL-based controllers as we basically only have a nr_segments limit now.
Not that I'm trying to argue for multi-GB I/O..
More information about the Linux-nvme
mailing list