diff options
| author | myfluxi <linflux@arcor.de> | 2013-10-18 21:20:22 +0200 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-09-01 12:06:59 +0200 |
| commit | c65ece22c13e8e71ac62fd8dda231c519d210a72 (patch) | |
| tree | f13016a07b790719b5c4f7cfd1d94312f1e22f96 | |
| parent | f909dcc3d3f94d736d13f974c0c18ccc28cf65aa (diff) | |
block: deadline: Optimize for non-rotational
Change-Id: Ib36df79cf0cab0aff5e0a67fd92265ff29fda39e
| -rw-r--r-- | block/deadline-iosched.c | 8 |
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 { |
