Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:Return min budget, which is a fraction of the current or default* max budget (trying with 1/32)

Proto:static int bfq_min_budget(struct bfq_data *bfqd)

Type:int

Parameter:

TypeParameterName
struct bfq_data *bfqd
1335  If number of budgets assigned < Minimum number of assigned budgets for which stats are safe to compute. Then Return Default maximum budget values, in sectors and number of requests. / 32
1337  Else Return maximum budget allotted to a bfq_queue before rescheduling / 32
Caller
NameDescribe
bfq_update_bfqq_wr_on_rq_arrival
__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.