[dm-devel] [PATCH 1/3] blk-mq: introduce blk_mq_delay_kick_requeue_list()

Jens Axboe axboe at kernel.dk
Wed Sep 14 15:04:23 UTC 2016


On 09/13/2016 10:01 AM, Mike Snitzer wrote:
> blk_mq_delay_kick_requeue_list() provides the ability to kick the
> q->requeue_list after a specified time.  To do this the request_queue's
> 'requeue_work' member was changed to a delayed_work.
>
> blk_mq_delay_kick_requeue_list() allows DM to defer processing requeued
> requests while it doesn't make sense to immediately requeue them
> (e.g. when all paths in a DM multipath have failed).

Looks fine to me, sans the missing jiffies conversion that Bart pointed
out.

-- 
Jens Axboe




More information about the dm-devel mailing list