X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=block%2Fdeadline-iosched.c;h=27e494b1bf97039d4095c47d71b42e1212b0b169;hb=0d233681274013a554194ce8e2fe8945cd49979f;hp=9cbec09e8415fa83ecb828c91d30eb43ce16cfec;hpb=899a1fc084ef3dcb57737d8847bf219cbf353ed3;p=linux-2.6 diff --git a/block/deadline-iosched.c b/block/deadline-iosched.c index 9cbec09e84..27e494b1bf 100644 --- a/block/deadline-iosched.c +++ b/block/deadline-iosched.c @@ -19,10 +19,10 @@ /* * See Documentation/block/deadline-iosched.txt */ -static int read_expire = HZ / 2; /* max time before a read is submitted. */ -static int write_expire = 5 * HZ; /* ditto for writes, these limits are SOFT! */ -static int writes_starved = 2; /* max times reads can starve a write */ -static int fifo_batch = 16; /* # of sequential requests treated as one +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 by the above parameters. For throughput. */ static const int deadline_hash_shift = 5;