Function report |
Source Code:block\blk-mq.c |
Create Date:2022-07-28 17:12:02 |
| Last Modify:2020-03-17 23:18:05 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Cache the elevator_type in qe pair list and switch the* io scheduler to 'none'
Proto:static bool blk_mq_elv_switch_none(struct list_head *head, struct request_queue *q)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct list_head * | head | |
| struct request_queue * | q |
| 3186 | If Not elevator Then Return true |
| 3189 | qe = Allocation memory |
| 3190 | If Not qe Then Return false |
| 3198 | mutex_lock( & sysfs_lock) |
| 3206 | __module_get(elevator_owner) |
| 3207 | elevator_switch_mq(q, NULL) |
| 3210 | Return true |
| Name | Describe |
|---|---|
| __blk_mq_update_nr_hw_queues |
| 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 |