fix queue_lock usage in blk-mq and nvme

Christoph Hellwig hch at
Mon May 18 23:37:09 PDT 2015


On Thu, May 07, 2015 at 09:38:12AM +0200, Christoph Hellwig wrote:
> Historically we always take queue_lock with irqs disabled.  Blk-mq doesn't really
> use the queue_lock much, but when it does it needs to follow this rules to make
> lockdep happy.
> The first patch removes a queue_lock usage instead of fixing things properly,
> and the second is a bad-aid for nvme.  In the long run I'd prefer to remove
> other users of the queue_lock from blk-mq and blk-mq based driver entirely,
> but that will require a bit more work.
> _______________________________________________
> Linux-nvme mailing list
> Linux-nvme at
---end quoted text---

More information about the Linux-nvme mailing list