[PATCH 3/8] nvme-pci: refactor nvme_pci_use_sgls

Keith Busch kbusch at kernel.org
Wed Jun 25 09:03:13 PDT 2025


On Wed, Jun 25, 2025 at 01:35:00PM +0200, Christoph Hellwig wrote:
> Move the average segment size into a separate helper, and return a
> tristate to distinguish the case where can use SGL vs where we have to
> use SGLs.  This will allow the simplify the code and make more efficient
> decisions in follow on changes.

Looks good.

Reviewed-by: Keith Busch <kbusch at kernel.org>



More information about the Linux-nvme mailing list