Re: [PATCH] blk-mq: kick requeue list in blk_mq_requeue_request()

From: Christoph Hellwig
Date: Tue Jun 10 2014 - 07:28:35 EST


On Tue, Jun 10, 2014 at 12:52:05PM +0800, Ming Lei wrote:
> blk_mq_requeue_request() should kick off the requeue list so
> that the request can be scheduled to queue finally.
>
> In nvme conversion patch, blk_mq_requeue_request() is called
> to requeue failed request from completion handler, this patch
> fixes the issue and makes the block API working as expected.

I've intentionally kepts the two separate so that we can batch operations
and just do a single kick for multiple requeued commands.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/