Re: [PATCH] NVMe: do not touch sq door bell if nvmeq has been suspended

From: Keith Busch
Date: Wed Feb 03 2016 - 11:38:46 EST


On Wed, Feb 03, 2016 at 04:35:03PM +0000, Wenbo Wang wrote:
> For async io (executed by run_work worker) it should work. However for sync io in blk_mq_run_hw_queue, this seems not help, there is still a window.

Alright, for lack of a better way to sync a stopped queue, the driver's
indication looks like the best we can do at this point.