diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-10-03 16:26:03 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-10-03 16:27:13 +0200 |
commit | 8e2967555571659d2c8a70dd120710110ed7bba4 (patch) | |
tree | 22716c5388f0269f5c1cef54958ae27df256c498 /include/linux/blkdev.h | |
parent | 365722bb917b08b7323b5a4a0a3386cc7d00397d (diff) | |
download | linux-stable-8e2967555571659d2c8a70dd120710110ed7bba4.tar.gz linux-stable-8e2967555571659d2c8a70dd120710110ed7bba4.tar.bz2 linux-stable-8e2967555571659d2c8a70dd120710110ed7bba4.zip |
cfq-iosched: implement slower async initiate and queue ramp up
This slowly ramps up the async queue depth based on the time
passed since the sync IO, and doesn't allow async at all until
a sync slice period has passed.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 1a03b715dfad..a7323930d2ba 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -1147,7 +1147,11 @@ static inline void put_dev_sector(Sector p) } struct work_struct; +struct delayed_work; int kblockd_schedule_work(struct request_queue *q, struct work_struct *work); +int kblockd_schedule_delayed_work(struct request_queue *q, + struct delayed_work *work, + unsigned long delay); #define MODULE_ALIAS_BLOCKDEV(major,minor) \ MODULE_ALIAS("block-major-" __stringify(major) "-" __stringify(minor)) |