diff options
author | Mike Snitzer <snitzer@redhat.com> | 2016-09-14 13:28:30 -0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-09-14 11:48:34 -0600 |
commit | 2849450ad39d2e699fda2d5c6f41e05d87fd7004 (patch) | |
tree | 086e7fd583a30bdefcfe01bd3fef60eeda4ad742 /block/blk-ioc.c | |
parent | c5c5ca777469f0ff854f1da0aff9b3a9051b3ef7 (diff) | |
download | op-kernel-dev-2849450ad39d2e699fda2d5c6f41e05d87fd7004.zip op-kernel-dev-2849450ad39d2e699fda2d5c6f41e05d87fd7004.tar.gz |
blk-mq: introduce blk_mq_delay_kick_requeue_list()
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).
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-ioc.c')
0 files changed, 0 insertions, 0 deletions