函数逻辑报告 |
Source Code:block\blk-throttle.c |
Create Date:2022-07-27 19:18:30 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:tg_update_disptime
函数原型:static void tg_update_disptime(struct throtl_grp *tg)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct throtl_grp * | tg |
| 1098 | sq等于 this group's service queue |
| 1099 | read_wait等于负1, write_wait等于负1, min_wait等于负1 |
| 1103 | 如果bio则Returns whether one can dispatch a bio or not. Also returns approx number* of jiffies to wait before this bio is with-in IO rate and can be dispatched |
| 1107 | 如果bio则Returns whether one can dispatch a bio or not. Also returns approx number* of jiffies to wait before this bio is with-in IO rate and can be dispatched |
| 1110 | min_wait等于两数取小(read_wait, write_wait) |
| 1114 | throtl_dequeue_tg(tg) |
| 1115 | * Dispatch time in jiffies. This is the estimated time when group * will unthrottle and is ready to dispatch more bio. It is used as * key to sort active groups in service tree.等于disptime |
| 1116 | throtl_enqueue_tg(tg) |
| 1119 | flags与等于 bio_lists[] became non-empty 的反 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |