Commit abf95692 authored by Sasha Levin's avatar Sasha Levin

dm: fix second blk_delay_queue() parameter to be in msec units not jiffies

[ Upstream commit bd9f55ea ]

Commit d548b34b ("dm: reduce the queue delay used in dm_request_fn
from 100ms to 10ms") always intended the value to be 10 msecs -- it
just expressed it in jiffies because earlier commit 7eaceacc ("block:
remove per-queue plugging") did.
Signed-off-by: default avatarTahsin Erdogan <tahsin@google.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
Fixes: d548b34b ("dm: reduce the queue delay used in dm_request_fn from 100ms to 10ms")
Cc: stable@vger.kernel.org # 4.1+ -- stable@ backports must be applied to drivers/md/dm.c
Signed-off-by: default avatarSasha Levin <alexander.levin@verizon.com>
parent 81292598
......@@ -2139,7 +2139,7 @@ static void dm_request_fn(struct request_queue *q)
goto out;
delay_and_out:
blk_delay_queue(q, HZ / 100);
blk_delay_queue(q, 10);
out:
dm_put_live_table(md, srcu_idx);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment