aboutsummaryrefslogtreecommitdiff
path: root/block/deadline-iosched.c
diff options
context:
space:
mode:
authormyfluxi <linflux@arcor.de>2013-10-18 21:20:22 +0200
committerMoyster <oysterized@gmail.com>2016-09-01 12:06:59 +0200
commitc65ece22c13e8e71ac62fd8dda231c519d210a72 (patch)
treef13016a07b790719b5c4f7cfd1d94312f1e22f96 /block/deadline-iosched.c
parentf909dcc3d3f94d736d13f974c0c18ccc28cf65aa (diff)
block: deadline: Optimize for non-rotational
Change-Id: Ib36df79cf0cab0aff5e0a67fd92265ff29fda39e
Diffstat (limited to 'block/deadline-iosched.c')
-rw-r--r--block/deadline-iosched.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/block/deadline-iosched.c b/block/deadline-iosched.c
index 20614a332..0fc5d0eae 100644
--- a/block/deadline-iosched.c
+++ b/block/deadline-iosched.c
@@ -17,10 +17,10 @@
/*
* See Documentation/block/deadline-iosched.txt
*/
-static const int read_expire = HZ / 2; /* max time before a read is submitted. */
-static const int write_expire = 5 * HZ; /* ditto for writes, these limits are SOFT! */
-static const int writes_starved = 2; /* max times reads can starve a write */
-static const int fifo_batch = 16; /* # of sequential requests treated as one
+static const int read_expire = HZ / 4; /* max time before a read is submitted. */
+static const int write_expire = 2 * HZ; /* ditto for writes, these limits are SOFT! */
+static const int writes_starved = 1; /* max times reads can starve a write */
+static const int fifo_batch = 8; /* # of sequential requests treated as one
by the above parameters. For throughput. */
struct deadline_data {