[PATCH] nvme-pci: Fix incorrect use of CMB size to calculate q_depth

Keith Busch keith.busch at intel.com
Tue Feb 6 07:05:52 PST 2018


On Mon, Feb 05, 2018 at 03:32:23PM -0700, sbates at raithlin.com wrote:
>  
> -	if (dev->cmb && (dev->cmbsz & NVME_CMBSZ_SQS)) {
> +	if (dev->cmb && use_cmb_sqes && (dev->cmbsz & NVME_CMBSZ_SQS)) {

Is this a prep patch for something coming later? dev->cmb is already
NULL if use_cmb_sqes is false.



More information about the Linux-nvme mailing list