Skip to content
This repository has been archived by the owner on Mar 17, 2019. It is now read-only.

Commit

Permalink
block: maple: Use better presets
Browse files Browse the repository at this point in the history
  • Loading branch information
adindotdev authored and Harsh Shandilya committed Feb 8, 2018
1 parent 70fbf60 commit ec491c4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions block/maple-iosched.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ec491c4

Please sign in to comment.