Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bfq-iosched.c Create Date:2022-07-28 17:56:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:static bool bfq_may_expire_for_budg_timeout(struct bfq_queue *bfqq)

Type:bool

Parameter:

TypeParameterName
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  Return ( Not 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.
Caller
NameDescribe
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