Function report |
Source Code:block\bfq-iosched.c |
Create Date:2022-07-28 17:56:31 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:This function chooses the queue from which to pick the next extra* I/O request to inject, if it finds a compatible queue
Proto:static struct bfq_queue *bfq_choose_bfqq_for_injection(struct bfq_data *bfqd)
Type:struct bfq_queue
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bfq_data * | bfqd |
| 4246 | in_serv_bfqq = bfq_queue in service |
| 4247 | limit = limit for request injection |
| 4260 | in_serv_always_inject = actor by which the weight of this queue is multiplied == 1 || Not bfq_bfqq_has_short_ttime(in_serv_bfqq) |
| 4279 | If number of requests dispatched and waiting for completion >= limit Then Return NULL |
| 4320 | Else limit = limit for request injection |
| 4323 | If number of requests dispatched and waiting for completion < limit Then |
| 4325 | Return bfqq |
| 4329 | Return NULL |
| Name | Describe |
|---|---|
| bfq_select_queue | 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. |
| 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 |