diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-10-03 10:26:03 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-10-03 10:27:13 -0400 |
commit | 8e2967555571659d2c8a70dd120710110ed7bba4 (patch) | |
tree | 22716c5388f0269f5c1cef54958ae27df256c498 /include | |
parent | 365722bb917b08b7323b5a4a0a3386cc7d00397d (diff) |
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')
-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) | |||
1147 | } | 1147 | } |
1148 | 1148 | ||
1149 | struct work_struct; | 1149 | struct work_struct; |
1150 | struct delayed_work; | ||
1150 | int kblockd_schedule_work(struct request_queue *q, struct work_struct *work); | 1151 | int kblockd_schedule_work(struct request_queue *q, struct work_struct *work); |
1152 | int kblockd_schedule_delayed_work(struct request_queue *q, | ||
1153 | struct delayed_work *work, | ||
1154 | unsigned long delay); | ||
1151 | 1155 | ||
1152 | #define MODULE_ALIAS_BLOCKDEV(major,minor) \ | 1156 | #define MODULE_ALIAS_BLOCKDEV(major,minor) \ |
1153 | MODULE_ALIAS("block-major-" __stringify(major) "-" __stringify(minor)) | 1157 | MODULE_ALIAS("block-major-" __stringify(major) "-" __stringify(minor)) |