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:If enough samples have been computed, return the current max budget* stored in bfqd, which is dynamically updated according to the* estimated disk peak rate; otherwise return the default max budget

Proto:static int bfq_max_budget(struct bfq_data *bfqd)

Type:int

Parameter:

TypeParameterName
struct bfq_data *bfqd
1323  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.
1325  Else Return maximum budget allotted to a bfq_queue before rescheduling
Caller
NameDescribe
bfq_init_bfqq