diff options
| author | DespairFactor <matthewalex@outlook.com> | 2016-06-03 09:52:00 -0400 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-09-01 12:07:02 +0200 |
| commit | d26799e42c25e0ba61bdb948115be0787555ddb6 (patch) | |
| tree | d43af7ed156d0d3f38e06677cebd54f99512168e /block/cfq-iosched.c | |
| parent | 273435b336fcc582ea2a5aac68b13cfc74c2553e (diff) | |
block: set slice_idle to 0 on bfq and cfq
Credits to Cl3Kener for original commit
Diffstat (limited to 'block/cfq-iosched.c')
| -rw-r--r-- | block/cfq-iosched.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c index 1c03dc1cf..1080d6778 100644 --- a/block/cfq-iosched.c +++ b/block/cfq-iosched.c @@ -30,7 +30,7 @@ static const int cfq_back_penalty = 2; static const int cfq_slice_sync = HZ / 10; static int cfq_slice_async = HZ / 25; static const int cfq_slice_async_rq = 2; -static int cfq_slice_idle = HZ / 125; +static int cfq_slice_idle = 0; static int cfq_group_idle = HZ / 125; static const int cfq_target_latency = HZ * 3/10; /* 300 ms */ static const int cfq_hist_divisor = 4; @@ -4618,7 +4618,7 @@ static int __init cfq_init(void) if (!cfq_slice_async) cfq_slice_async = 1; if (!cfq_slice_idle) - cfq_slice_idle = 1; + cfq_slice_idle = 0; #ifdef CONFIG_CFQ_GROUP_IOSCHED if (!cfq_group_idle) |
