函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-rq-qos.c Create Date:2022-07-27 19:07:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Scale rwb down. If 'hard_throttle' is set, do it quicker, since we* had a latency violation. Returns true on success and returns false if* scaling down wasn't possible.

函数原型:bool rq_depth_scale_down(struct rq_depth *rqd, bool hard_throttle)

返回类型:bool

参数:

类型参数名称
struct rq_depth *rqd
boolhard_throttle
190  如果max_depth恒等于1则返回:false
193  如果scale_step小于0且hard_throttlescale_step等于0
195  否则scale_step自加
198  scaled_max = false
199  Return true, if we can't increase the depth further by scaling
200  返回:true
调用者
名称描述
scale_down