]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
dm: reduce the queue delay used in dm_request_fn from 100ms to 10ms
authorMike Snitzer <snitzer@redhat.com>
Fri, 6 Mar 2015 03:21:10 +0000 (22:21 -0500)
committerMike Snitzer <snitzer@redhat.com>
Wed, 15 Apr 2015 16:10:13 +0000 (12:10 -0400)
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>
drivers/md/dm.c

index 6f854287384b51ac73d224200d7bc0be06215a3c..98eb02d32e6e873c392059ab7fc18b7c15dda757 100644 (file)
@@ -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);
 }