Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:group's limit in LIMIT_MAX is scaled if low limit is set. This scale is to* make the IO dispatch more smooth.* Scale up: linearly scale up according to lapsed time since upgrade. For* every throtl_slice, the limit scales up 1/2 .low limit till the

Proto:static uint64_t throtl_adjusted_limit(uint64_t low, struct throtl_data *td)

Type:uint64_t

Parameter:

TypeParameterName
uint64_tlow
struct throtl_data *td
289  If scale < 4096 && time_after_eq(jiffies, low_upgrade_time + scale * throtl_slice) Then scale = (jiffies - low_upgrade_time) / throtl_slice
293  Return low + (low >> 1) * scale
Caller
NameDescribe
tg_bps_limit
tg_iops_limit