[PATCH v2 3/4] nvme: enable SG gaps support

Christoph Hellwig hch at lst.de
Thu Apr 20 23:44:27 PDT 2017


On Thu, Apr 20, 2017 at 02:27:59PM +0300, Sagi Grimberg wrote:
> I think it would be better if the ctrl will hold a virt_boundary
> provided by the fabric driver? Then we would always
> blk_queue_virt_boundary but with capable devices the fabric driver
> can set it to 0. This will also allow for dword aligned sgls to
> fit in pretty easily.

All our block I/O must be cache line aligned, so dword aligned SGLs
should not be an issue.  And for PRPs or MRs we'll always use the
host page size.

But I don't think I really care in the end..



More information about the Linux-nvme mailing list