函数逻辑报告 |
Source Code:block\blk-throttle.c |
Create Date:2022-07-27 19:19:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:throtl_tg_can_upgrade
函数原型:static bool throtl_tg_can_upgrade(struct throtl_grp *tg)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct throtl_grp * | tg |
1850 | sq等于 this group's service queue |
1857 | read_limit等于 internally used bytes per second rate limits [generic data direction definitions ][LIMIT_LOW]或 internally used IOPS limits [generic data direction definitions ][LIMIT_LOW] |
1858 | write_limit等于 internally used bytes per second rate limits [WRITE][LIMIT_LOW]或 internally used IOPS limits [WRITE][LIMIT_LOW] |
1859 | 如果非read_limit且非write_limit则返回:true |
1861 | 如果read_limit且 number of queued bios [generic data direction definitions ]且非write_limit或 number of queued bios [WRITE]的值则返回:true |
1864 | 如果write_limit且 number of queued bios [WRITE]且非read_limit或 number of queued bios [generic data direction definitions ]的值则返回:true |
1868 | 如果time_after_eq(jiffies, g should not be an intermediate node + throtl_slice)且throtl_tg_is_idle(tg)则返回:true |
1872 | 返回:false |
名称 | 描述 |
---|---|
throtl_hierarchy_can_upgrade |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |