Function report | 
Source Code:block\bfq-iosched.c | 
Create Date:2022-07-28 17:54:39 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:bfq_bfqq_budget_left
Proto:static int bfq_bfqq_budget_left(struct bfq_queue *bfqq)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct bfq_queue * | bfqq | 
| 1313 | Return budget, used also to calculate F_i: F_i = S_i + @budget / @weight - amount of service received during the last service slot | 
| Name | Describe | 
|---|---|
| bfq_bfqq_update_budg_for_activation | The next function, invoked after the input queue bfqq switches from* idle to busy, updates the budget of bfqq. The function also tells* whether the in-service queue should be expired, by returning* true | 
| __bfq_bfqq_recalc_budget | __bfq_bfqq_recalc_budget - try to adapt the budget to the @bfqq behavior.*@bfqd: device data.*@bfqq: queue to update.*@reason: reason for expiration.* Handle the feedback on @bfqq budget at queue expiration.* See the body for detailed comments. | 
| bfq_bfqq_expire | q_bfqq_expire - expire a queue.*@bfqd: device owning the queue.*@bfqq: the queue to expire.*@compensate: if true, compensate for the time spent idling.*@reason: the reason causing the expiration.* If the process associated with bfqq does slow I/O (e | 
| bfq_may_expire_for_budg_timeout | If we expire a queue that is actively waiting (i.e., with the* device idled) for the arrival of a new request, then we may incur* the timestamp misalignment problem described in the body of the* function __bfq_activate_entity | 
| bfq_choose_bfqq_for_injection | This function chooses the queue from which to pick the next extra* I/O request to inject, if it finds a compatible queue | 
| 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  |