[PATCH 1/3] nvme: remove ->cq_vector == -1 check in nvme_queue_rq()

Keith Busch keith.busch at linux.intel.com
Thu May 17 08:52:18 PDT 2018


On Thu, May 17, 2018 at 09:42:58AM -0600, Jens Axboe wrote:
> How about this:
> 
> http://git.kernel.dk/cgit/linux-block/commit/?h=nvme-4.18&id=9913686cb779a046924441cdcac275aa24147122

Not only better, this also fixes a memory leak: we never called the
dma_unmap_sg() on this error out case! Let's consider this patch
separately.



More information about the Linux-nvme mailing list