X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=block%2Fdeadline-iosched.c;h=27e494b1bf97039d4095c47d71b42e1212b0b169;hb=37ef4399a6bb265d3035e6d6e45f7677b132a3ba;hp=9cbec09e8415fa83ecb828c91d30eb43ce16cfec;hpb=29ac878a71d1900cc2e283819b1daa388961ab6e;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;