[PATCHv5 2/2] NVMe: Use CMB for the IO SQes if available

Christoph Hellwig hch at infradead.org
Tue Jul 21 05:21:16 PDT 2015


On Mon, Jul 20, 2015 at 10:14:09AM -0600, Jon Derrick wrote:
> Some controllers have a controller-side memory buffer available for use
> for submissions, completions, lists, or data.
> 
> If a CMB is available, the entire CMB will be ioremapped and it will
> attempt to map the IO SQes onto the CMB. The queues will be shrunk as
> needed. The CMB will not be used if the queue depth is shrunk below some
> threshold where it may have reduced performance over a larger queue
> in system memory.
> 
> Signed-off-by: Jon Derrick <jonathan.derrick at intel.com>

Looks good,

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the Linux-nvme mailing list