kernel/drivers/nvme/host/nvme.h
.. .. @@ -155,6 +155,11 @@ 155 155 * Reports garbage in the namespace identifiers (eui64, nguid, uuid). 156 156 */ 157 157 NVME_QUIRK_BOGUS_NID = (1 << 18), 158 +159 + /*160 + * Limit io queue depth to 32161 + */162 + NVME_QUIRK_LIMIT_IOQD32 = (1 << 31),158 163 }; 159 164 160 165 /* .. .. @@ -749,7 +754,7 @@ 749 754 { 750 755 struct nvme_ns *ns = req->q->queuedata; 751 756 752 - if (req->cmd_flags & REQ_NVME_MPATH)757 + if ((req->cmd_flags & REQ_NVME_MPATH) && req->bio)753 758 trace_block_bio_complete(ns->head->disk->queue, req->bio); 754 759 } 755 760