函数逻辑报告 |
Source Code:block\blk-iolatency.c |
Create Date:2022-07-27 19:20:58 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:static void scale_change(struct iolatency_grp *iolat, bool up)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct iolatency_grp * | iolat | |
| bool | up |
| 367 | qd等于 Max # of requests |
| 368 | scale等于scale_amount(qd, up) |
| 374 | 如果up则 |
| 375 | 如果old恒等于1且blkcg_unuse_delay(lat_to_blkg(iolat))则返回 |
| 384 | 否则 |
| 名称 | 描述 |
|---|---|
| check_scale_change | Check our parent and see if the scale cookie has changed. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |