Skip to content

Commit

Permalink
dm: reduce the queue delay used in dm_request_fn from 100ms to 10ms
Browse files Browse the repository at this point in the history
Commit 7eaceac ("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>
  • Loading branch information
Mike Snitzer committed Apr 15, 2015
1 parent 9d1deb8 commit d548b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/md/dm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit d548b34

Please sign in to comment.