[PATCH 2/4] NVMe: Decouple nvmeq hctx from ns request queue

Christoph Hellwig hch at infradead.org
Tue May 19 09:15:45 PDT 2015


On Tue, May 19, 2015 at 03:51:32PM +0000, Keith Busch wrote:
> Oh no!, the blk_mq_tag_busy_iter usage is broken in the nvme driver for
> anything with more than one namespace, and broken with the implementation
> I suggested. It only invokes the callback if the hctx is assocaited with
> the same request queue. Must fix, maybe add a blk-mq api to iterate the
> tagset rather than hctx.

Yes, similar to how we pass a tag_set to blk_mq_tag_to_rq.



More information about the Linux-nvme mailing list