@@ -168,21 +168,16 @@ static void dm_end_request(struct request *clone, blk_status_t error)
rq_completed(md);
}
-static void __dm_mq_kick_requeue_list(struct request_queue *q, unsigned long msecs)
-{
- blk_mq_delay_kick_requeue_list(q, msecs);
-}
-
void dm_mq_kick_requeue_list(struct mapped_device *md)
{
- __dm_mq_kick_requeue_list(md->queue, 0);
+ blk_mq_kick_requeue_list(md->queue);
}
EXPORT_SYMBOL(dm_mq_kick_requeue_list);
static void dm_mq_delay_requeue_request(struct request *rq, unsigned long msecs)
{
blk_mq_requeue_request(rq, false);
- __dm_mq_kick_requeue_list(rq->q, msecs);
+ blk_mq_delay_kick_requeue_list(rq->q, msecs);
}
static void dm_requeue_original_request(struct dm_rq_target_io *tio, bool delay_requeue)