[PATCH] NVMe: Fix possible scheduling while atomic error

Christoph Hellwig hch at infradead.org
Wed May 25 01:18:42 PDT 2016


On Tue, May 24, 2016 at 03:59:21PM -0400, Keith Busch wrote:
> On Tue, May 24, 2016 at 11:43:21AM -0700, Ming Lin wrote:
> > 
> > It's blk_mq_cancel_requeue_work() that potentially sleeps.
> 
> Right, I don't know what I was thinking... 
> 
> AFAICT, the patch is fine as-is if Christoph is okay with it.

I still don't why we need to delay the call to blk_mq_stop_hw_queues
to ->queue_rq.



More information about the Linux-nvme mailing list