[PATCH 2/7] nvme/fc: Fix admin queue depth setup

Sagi Grimberg sagi at grimberg.me
Sun Jul 9 22:59:02 PDT 2017


> The NVME_FC_AQ_BLKMQ_DEPTH is one less than what we actually want the
> admin queue's depth to be since it subtracts the AEN entry.
> 
> We also need to subtract 1 from the blk-mq depth to always leave an
> empty queue entry, and to not collide command id with the AEN request.
> 
> Signed-off-by: Keith Busch <keith.busch at intel.com>

nvme-loop needs the same patch.



More information about the Linux-nvme mailing list