aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2015-03-05 22:21:10 -0500
committerMike Snitzer <snitzer@redhat.com>2015-04-15 12:10:13 -0400
commitd548b34b062b60b4f4df295a0b4823dfda1f1fc4 (patch)
treeef6d8398a770e706345648749670901d163653b5 /drivers/md
parentdm: don't schedule delayed run of the queue if nothing to do (diff)
downloadlinux-dev-d548b34b062b60b4f4df295a0b4823dfda1f1fc4.tar.xz
linux-dev-d548b34b062b60b4f4df295a0b4823dfda1f1fc4.zip
dm: reduce the queue delay used in dm_request_fn from 100ms to 10ms
Commit 7eaceaccab ("block: remove per-queue plugging") didn't justify DM's use of a 100ms delay; such an extended delay is a liability when there is reason to re-kick the queue. Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/dm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index 6f854287384b..98eb02d32e6e 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -1997,7 +1997,7 @@ static void dm_request_fn(struct request_queue *q)
goto out;
delay_and_out:
- blk_delay_queue(q, HZ / 10);
+ blk_delay_queue(q, HZ / 100);
out:
dm_put_live_table(md, srcu_idx);
}