Function report |
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 activity | Download SCCT | Chinese |
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:
| Type | Parameter | Name |
|---|---|---|
| struct rq_depth * | rqd | |
| bool | hard_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 |
| 200 | Return true |
| Name | Describe |
|---|---|
| scale_down |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |