Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:bool rq_depth_scale_down(struct rq_depth *rqd, bool hard_throttle)

Type:bool

Parameter:

TypeParameterName
struct rq_depth *rqd
boolhard_throttle
190  If max_depth == 1 Then Return false
193  If scale_step < 0 && hard_throttle Then scale_step = 0
195  Else scale_step++
198  scaled_max = false
199  Return true, if we can't increase the depth further by scaling
200  Return true
Caller
NameDescribe
scale_down