[PATCH v1 2/3] nvme: Use blk-mq helper for IO termination

Keith Busch keith.busch at intel.com
Tue Feb 2 08:49:15 PST 2016


On Tue, Feb 02, 2016 at 04:32:33PM +0000, Wenbo Wang wrote:
> If some requests are in q->request_list or ctx->rq_list, does nvme_cancel_io remove them from these lists? If not, will it cause any issue?

It's fine to let them queue there if we expect to restart the
controller. We're going to restart the queues shortly.

If we're about to kill the queue, blk-mq's timeout handler kills
unstarted requests.



More information about the Linux-nvme mailing list