summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2002-09-24 22:50:18 -0700
committerJens Axboe <axboe@suse.de>2002-09-24 22:50:18 -0700
commit85b2148a13080ee8244d9bb60b42da7dee7725a3 (patch)
tree3e95b9a94ee1807abf43886e052ffa88080ba517 /include
parent650e56ee08df70097e6cd28e3543bbecddeb810e (diff)
[PATCH] deadline scheduler
This introduces the deadline-ioscheduler, making it the default. 2nd patch coming that deletes elevator_linus in a minute. This one has read_expire at 500ms, and writes_starved at 2.
Diffstat (limited to 'include')
-rw-r--r--include/linux/elevator.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/elevator.h b/include/linux/elevator.h
index e98168f92e67..8e4ca13c458a 100644
--- a/include/linux/elevator.h
+++ b/include/linux/elevator.h
@@ -60,6 +60,12 @@ extern elevator_t elevator_linus;
#define ELV_LINUS_SEEK_COST 16
/*
+ * deadline i/o scheduler. uses request time outs to prevent indefinite
+ * starvation
+ */
+extern elevator_t iosched_deadline;
+
+/*
* use the /proc/iosched interface, all the below is history ->
*/
typedef struct blkelv_ioctl_arg_s {