Function report |
Source Code:block\blk-mq-sched.c |
Create Date:2022-07-28 17:15:23 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:blk_mq_init_sched
Proto:int blk_mq_init_sched(struct request_queue *q, struct elevator_type *e)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct request_queue * | q | |
| struct elevator_type * | e |
| 500 | If Not e Then |
| 511 | Max # of requests = 2 * min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(unsignedint, queue_depth, Default maximum ) |
| 515 | ret = blk_mq_sched_alloc_tags(q, hctx, i) |
| 520 | ret = init_sched(q, e) |
| 527 | If init_hctx Then |
| 529 | If ret Then |
| 540 | Return 0 |
| 542 | err : |
| 545 | elevator = NULL |
| 546 | Return ret |
| 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 |
| elevator_switch_mq |
| 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 |