函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bfq-iosched.c Create Date:2022-07-27 19:32:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:static bool bfq_may_expire_for_budg_timeout(struct bfq_queue *bfqq)

返回类型:bool

参数:

类型参数名称
struct bfq_queue *bfqq
4068  bfq_log_bfqq(parent bfq_data , bfqq, "may_budget_timeout: wait_request %d left %d timeout %d", bfq_bfqq_wait_request(bfqq), bfq_bfqq_budget_left(bfqq) >= budget, used also to calculate F_i: F_i = S_i + @budget / @weight / 3, Budget timeout is not implemented through a dedicated timer, but* just checked on request arrivals and completions, as well as on* idle timer expirations.)
4074  返回:非bfq_bfqq_wait_request(bfqq)或bfq_bfqq_budget_left(bfqq)大于等于 budget, used also to calculate F_i: F_i = S_i + @budget / @weight 除3的值且Budget timeout is not implemented through a dedicated timer, but* just checked on request arrivals and completions, as well as on* idle timer expirations.
调用者
名称描述
bfq_select_queueSelect 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.
bfq_completed_request