[PATCH] nvme : add Scatter-Gather List (SGL) support in NVMe driver.
cknvme at gmail.com
Fri Jul 14 15:09:12 PDT 2017
Thanks for the feedback Keith, I'll look into this.
I posted the new version today, please let me know if you have any
other comments on the new code.
On Fri, Jul 14, 2017 at 2:06 PM, Keith Busch <keith.busch at intel.com> wrote:
> On Thu, Jul 13, 2017 at 10:54:39AM -0700, Chaitanya Kulkarni wrote:
>> This adds SGL support for NVMe PCIe driver which is
>> reimplementation of the initial version provided by
>> Rajiv Shanmugam Madeswaran(smrajiv15 at gmail.com):-
>> "block: nvme-core: Scatter gather list support in the
>> NVMe Block Driver".
>> In order to enable SGL mode for the driver, the user can set the
>> sgl_threshold module parameter. This parameter can be used
>> in the two modes:-
>> 1. Allow all IOs to use SGL mode. (set sgl_threshold to 1).
>> 2. Set up the IO size threshold to determine whether to use
>> SGLs or PRPs for each IO. (set sgl_threshold to 4096 to
>> use SGL only for IOs which are >= 4096 in the size).
> For this to really make a difference, you should clear
> blk_queue_virt_boundary for SGL capable devices.
> Linux-nvme mailing list
> Linux-nvme at lists.infradead.org
More information about the Linux-nvme