X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=block%2Fdeadline-iosched.c;h=27e494b1bf97039d4095c47d71b42e1212b0b169;hb=ad12583f46bcb6ce93ccd99fa063c0d701146b2e;hp=7929471d7df7efb6a6f885f698da89c8f4c76cf7;hpb=0ad3a96f8ad910ecf87a25ec69ed360b284dee2e;p=powerpc.git diff --git a/block/deadline-iosched.c b/block/deadline-iosched.c index 7929471d7d..27e494b1bf 100644 --- a/block/deadline-iosched.c +++ b/block/deadline-iosched.c @@ -1,6 +1,4 @@ /* - * linux/drivers/block/deadline-iosched.c - * * Deadline i/o scheduler. * * Copyright (C) 2002 Jens Axboe @@ -21,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;