函数逻辑报告 |
Source Code:block\blk-throttle.c |
Create Date:2022-07-27 19:17:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:group's limit in LIMIT_MAX is scaled if low limit is set. This scale is to* make the IO dispatch more smooth.* Scale up: linearly scale up according to lapsed time since upgrade. For* every throtl_slice, the limit scales up 1/2 .low limit till the
函数原型:static uint64_t throtl_adjusted_limit(uint64_t low, struct throtl_data *td)
返回类型:uint64_t
参数:
类型 | 参数 | 名称 |
---|---|---|
uint64_t | low | |
struct throtl_data * | td |
289 | 如果scale小于4096且time_after_eq(jiffies, low_upgrade_time + scale * throtl_slice)则scale等于jiffies减low_upgrade_time的差除throtl_slice |
名称 | 描述 |
---|---|
tg_bps_limit | |
tg_iops_limit |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |