diff options
author | Nikanth Karthikesan <knikanth@suse.de> | 2009-01-27 03:29:24 -0500 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-01-30 06:34:37 -0500 |
commit | 7598909e3ee2a08726276d6415b69dadb52d0d76 (patch) | |
tree | a876f1691934bcd0e2a3787837ba997e2834b15c /Documentation/block | |
parent | a229fc61ef0ee3c30fd193beee0eeb87410227f1 (diff) |
Mark mandatory elevator functions in the biodoc.txt
biodoc.txt mentions that elevator functions marked with * are mandatory, but
no function is marked with *. Mark the 3 functions which should be
implemented by any io scheduler.
Signed-off-by: Nikanth Karthikesan <knikanth@suse.de>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'Documentation/block')
-rw-r--r-- | Documentation/block/biodoc.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/block/biodoc.txt b/Documentation/block/biodoc.txt index 5d2480d33b43..ecad6ee75705 100644 --- a/Documentation/block/biodoc.txt +++ b/Documentation/block/biodoc.txt | |||
@@ -954,14 +954,14 @@ elevator_allow_merge_fn called whenever the block layer determines | |||
954 | results in some sort of conflict internally, | 954 | results in some sort of conflict internally, |
955 | this hook allows it to do that. | 955 | this hook allows it to do that. |
956 | 956 | ||
957 | elevator_dispatch_fn fills the dispatch queue with ready requests. | 957 | elevator_dispatch_fn* fills the dispatch queue with ready requests. |
958 | I/O schedulers are free to postpone requests by | 958 | I/O schedulers are free to postpone requests by |
959 | not filling the dispatch queue unless @force | 959 | not filling the dispatch queue unless @force |
960 | is non-zero. Once dispatched, I/O schedulers | 960 | is non-zero. Once dispatched, I/O schedulers |
961 | are not allowed to manipulate the requests - | 961 | are not allowed to manipulate the requests - |
962 | they belong to generic dispatch queue. | 962 | they belong to generic dispatch queue. |
963 | 963 | ||
964 | elevator_add_req_fn called to add a new request into the scheduler | 964 | elevator_add_req_fn* called to add a new request into the scheduler |
965 | 965 | ||
966 | elevator_queue_empty_fn returns true if the merge queue is empty. | 966 | elevator_queue_empty_fn returns true if the merge queue is empty. |
967 | Drivers shouldn't use this, but rather check | 967 | Drivers shouldn't use this, but rather check |
@@ -991,7 +991,7 @@ elevator_activate_req_fn Called when device driver first sees a request. | |||
991 | elevator_deactivate_req_fn Called when device driver decides to delay | 991 | elevator_deactivate_req_fn Called when device driver decides to delay |
992 | a request by requeueing it. | 992 | a request by requeueing it. |
993 | 993 | ||
994 | elevator_init_fn | 994 | elevator_init_fn* |
995 | elevator_exit_fn Allocate and free any elevator specific storage | 995 | elevator_exit_fn Allocate and free any elevator specific storage |
996 | for a queue. | 996 | for a queue. |
997 | 997 | ||