From ec491c4fc7f17dd491e67a1689aaec782b638db5 Mon Sep 17 00:00:00 2001 From: Adin Kwok Date: Sun, 2 Jul 2017 22:00:52 -0700 Subject: [PATCH] block: maple: Use better presets --- block/maple-iosched.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/block/maple-iosched.c b/block/maple-iosched.c index 89b32833a321..7172c5e50271 100644 --- a/block/maple-iosched.c +++ b/block/maple-iosched.c @@ -24,13 +24,13 @@ enum { ASYNC, SYNC }; /* Tunables */ -static const int sync_read_expire = 100; /* max time before a read sync is submitted. */ -static const int sync_write_expire = 350; /* max time before a write sync is submitted. */ -static const int async_read_expire = 200; /* ditto for read async, these limits are SOFT! */ -static const int async_write_expire = 500; /* ditto for write async, these limits are SOFT! */ +static const int sync_read_expire = 350; /* max time before a read sync is submitted. */ +static const int sync_write_expire = 550; /* max time before a write sync is submitted. */ +static const int async_read_expire = 250; /* ditto for read async, these limits are SOFT! */ +static const int async_write_expire = 450; /* ditto for write async, these limits are SOFT! */ static const int fifo_batch = 16; /* # of sequential requests treated as one by the above parameters. */ -static const int writes_starved = 3; /* max times reads can starve a write */ -static const int sleep_latency_multiple = 5; /* multple for expire time when device is asleep */ +static const int writes_starved = 4; /* max times reads can starve a write */ +static const int sleep_latency_multiple = 10; /* multple for expire time when device is asleep */ /* Elevator data */ struct maple_data {