X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=block%2Fdeadline-iosched.c;h=27e494b1bf97039d4095c47d71b42e1212b0b169;hb=9f5974c8734d83d4ab7096ed98136a82f41210d6;hp=9cbec09e8415fa83ecb828c91d30eb43ce16cfec;hpb=29ac878a71d1900cc2e283819b1daa388961ab6e;p=karo-tx-linux.git diff --git a/block/deadline-iosched.c b/block/deadline-iosched.c index 9cbec09e8415..27e494b1bf97 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;