diff options
author | Mike Snitzer | 2016-09-09 19:24:57 -0400 |
---|---|---|
committer | Mike Snitzer | 2016-09-14 13:56:38 -0400 |
commit | a8ac51e4ab97765838ae6a07d6ff7f7bfaaa0ea3 (patch) | |
tree | 1bc9e863ee44b4991b9c467659503f681bb4398e /drivers/md/dm-core.h | |
parent | 9f4c3f874a3ab8fb845dd2f04f4396ebc5c1f225 (diff) |
dm rq: add DM_MAPIO_DELAY_REQUEUE to delay requeue of blk-mq requests
Otherwise blk-mq will immediately dispatch requests that are requeued
via a BLK_MQ_RQ_QUEUE_BUSY return from blk_mq_ops .queue_rq.
Delayed requeue is implemented using blk_mq_delay_kick_requeue_list()
with a delay of 5 secs. In the context of DM multipath (all paths down)
it doesn't make any sense to requeue more quickly.
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-core.h')
0 files changed, 0 insertions, 0 deletions