Skip to content

Commit

Permalink
Optimized dealine for performance
Browse files Browse the repository at this point in the history
  • Loading branch information
Snuzzo committed Oct 21, 2012
1 parent afb1de9 commit 649e64e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions block/deadline-iosched.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
*/
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 writes_starved = 1; /* max times reads can starve a write */
static const int fifo_batch = 1; /* # of sequential requests treated as one
by the above parameters. For throughput. */

struct deadline_data {
Expand Down

0 comments on commit 649e64e

Please sign in to comment.