block, cfq: move icq creation and rq->elv.icq association to block core
[linux-2.6.git] / include / linux / elevator.h
index c8f1e67..c24f3d7 100644 (file)
@@ -60,8 +60,8 @@ struct elevator_ops
        elevator_request_list_fn *elevator_former_req_fn;
        elevator_request_list_fn *elevator_latter_req_fn;
 
-       elevator_init_icq_fn *elevator_init_icq_fn;
-       elevator_exit_icq_fn *elevator_exit_icq_fn;
+       elevator_init_icq_fn *elevator_init_icq_fn;     /* see iocontext.h */
+       elevator_exit_icq_fn *elevator_exit_icq_fn;     /* ditto */
 
        elevator_set_req_fn *elevator_set_req_fn;
        elevator_put_req_fn *elevator_put_req_fn;
@@ -90,8 +90,8 @@ struct elevator_type
 
        /* fields provided by elevator implementation */
        struct elevator_ops ops;
-       size_t icq_size;
-       size_t icq_align;
+       size_t icq_size;        /* see iocontext.h */
+       size_t icq_align;       /* ditto */
        struct elv_fs_entry *elevator_attrs;
        char elevator_name[ELV_NAME_MAX];
        struct module *elevator_owner;