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

From: Keith Busch
Date: Tue Feb 06 2018 - 10:02:05 EST


On Mon, Feb 05, 2018 at 03:32:23PM -0700, sbates@xxxxxxxxxxxx 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.