Function report |
Source Code:block\bfq-iosched.c |
Create Date:2022-07-28 17:56:47 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__bfq_dispatch_request
Proto:static struct request *__bfq_dispatch_request(struct blk_mq_hw_ctx *hctx)
Type:struct request
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct blk_mq_hw_ctx * | hctx |
| 4655 | bfqd = elevator_data |
| 4659 | If Not list_empty - tests whether a list is empty*@head: the list to test. Then |
| 4666 | If bfqq Then |
| 4675 | Go to inc_in_driver_start_rq |
| 4701 | Go to start_rq |
| 4704 | bfq_log(bfqd, "dispatch requests: %d busy queues", bfq_tot_busy_queues(bfqd)) |
| 4707 | If bfq_tot_busy_queues(bfqd) == 0 Then Go to exit |
| 4725 | bfqq = Select a queue for service. If we have a current queue in service,* check whether to continue servicing it, or retrieve and set a new one. |
| 4731 | If rq Then |
| 4732 | inc_in_driver_start_rq : |
| 4734 | start_rq : |
| 4737 | exit : |
| 4738 | Return rq |
| Name | Describe |
|---|---|
| bfq_dispatch_request |
| 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 |