| Function report | 
| Source Code: block\elevator.c | Create Date:2022-07-28 16:58:02 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:For single queue devices, default to using mq-deadline. If we have multiple* queues or mq-deadline is not available, default to "none".
Proto:static struct elevator_type *elevator_get_default(struct request_queue *q)
Type:struct elevator_type
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct request_queue * | q | 
| 631 | If nr_hw_queues != 1 Then Return NULL | 
| 634 | Return elevator_get(q, "mq-deadline", false) | 
| Name | Describe | 
|---|---|
| elevator_init_mq | For a device queue that has no required features, use the default elevator* settings. Otherwise, use the first elevator available matching the required* features. If no suitable elevator is find or if the chosen elevator | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |