Function report | 
Source Code:block\blk-iolatency.c | 
Create Date:2022-07-28 17:45:12 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:scale_amount
Proto:static inline unsigned long scale_amount(unsigned long qd, bool up)
Type:unsigned long
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned long | qd | |
| bool | up | 
| 311 | Return max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(up ? qd >> SCALE_UP_FACTOR : qd >> SCALE_DOWN_FACTOR, 1UL) | 
| Name | Describe | 
|---|---|
| scale_cookie_change | We scale the qd down faster than we scale up, so we need to use this helper* to adjust the scale_cookie accordingly so we don't prematurely get* scale_cookie at DEFAULT_SCALE_COOKIE and unthrottle too much | 
| scale_change | Change the queue depth of the iolatency_grp. We add/subtract 1/16th of the* queue depth at a time so we don't get wild swings and hopefully dial in to* fairer distribution of the overall queue depth. | 
| 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  |