Function report |
Source Code:block\bfq-iosched.c |
Create Date:2022-07-28 17:56:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static struct bfq_queue *bfq_select_queue(struct bfq_data *bfqd)
Type:struct bfq_queue
Parameter:
Type | Parameter | Name |
---|---|---|
struct bfq_data * | bfqd |
4342 | bfqq = bfq_queue in service |
4346 | bfq_log_bfqq(bfqd, bfqq, "select_queue: already in-service queue") |
4359 | check_queue : |
4371 | If next_rq Then |
4380 | reason = udget consumed |
4381 | Go to expire |
4382 | Else |
4514 | Else bfqq = NULL |
4517 | Go to keep_queue |
4521 | expire : |
4523 | new_queue : |
4525 | If bfqq Then |
4526 | bfq_log_bfqq(bfqd, bfqq, "select_queue: checking new queue") |
4527 | Go to check_queue |
4529 | keep_queue : |
4530 | If bfqq Then bfq_log_bfqq(bfqd, bfqq, "select_queue: returned this queue") |
4535 | Return bfqq |
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 |