aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorscafroglia93 <scafroglia57@gmail.com>2016-08-29 16:01:20 +0200
committerMoyster <oysterized@gmail.com>2016-09-10 00:37:07 +0200
commit6aa27ff25b8429fe98e9bee1f11d82ef765a95b1 (patch)
treeb053e91ffe6e3c85a301f86825bb4f22af264ef8 /block
parent3569244ade5c43f1c3694246b9b284dda148989b (diff)
Zen Sched: set fifo batch to 16 to reduce overload on eMMC and CPU
Diffstat (limited to 'block')
-rw-r--r--block/zen-iosched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/zen-iosched.c b/block/zen-iosched.c
index 57ce8e1b1..eec16ad22 100644
--- a/block/zen-iosched.c
+++ b/block/zen-iosched.c
@@ -19,7 +19,7 @@ enum zen_data_dir { ASYNC, SYNC };
static const int sync_expire = HZ / 2; /* max time before a sync is submitted. */
static const int async_expire = 5 * HZ; /* ditto for async, these limits are SOFT! */
-static const int fifo_batch = 1;
+static const int fifo_batch = 16;
struct zen_data {
/* Runtime Data */