Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:throtl_downgrade_state

Proto:static void throtl_downgrade_state(struct throtl_data *td, int new)

Type:void

Parameter:

TypeParameterName
struct throtl_data *td
intnew
1962  scale /= 2
1964  hrotl_log - log debug message via blktrace*@sq: the service_queue being reported*@fmt: printf format string*@args: printf args* The messages are prefixed with "throtl BLKG_NAME" if @sq belongs to a* throtl_grp; otherwise, just "throtl".( & service tree for active throtl groups , "downgrade, scale %d", scale)
1965  If scale Then
1966  low_upgrade_time = jiffies - scale * throtl_slice
1967  Return
1970  limit_index = new
1971  low_downgrade_time = jiffies
Caller
NameDescribe
throtl_downgrade_check