Skip to content

Commit

Permalink
block: deadline: Optimize for non-rotational
Browse files Browse the repository at this point in the history
Change-Id: Ib36df79cf0cab0aff5e0a67fd92265ff29fda39e
  • Loading branch information
myfluxi authored and tkawajir committed Oct 13, 2015
1 parent 00ad239 commit 4b84e2e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions block/deadline-iosched.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4b84e2e

Please sign in to comment.