函数逻辑报告 |
Source Code:block\blk-iocost.c |
Create Date:2022-07-27 19:24:39 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ioc_rqos_merge
函数原型:static void ioc_rqos_merge(struct rq_qos *rqos, struct request *rq, struct bio *bio)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct rq_qos * | rqos | |
struct request * | rq | |
struct bio * | bio |
1803 | bio_end等于bio_end_sector(bio) |
1812 | abs_cost等于calc_vtime_cost(bio, iocg, true) |
1813 | 如果非abs_cost则返回 |
1817 | current_hweight(iocg, NULL, & hw_inuse) |
1818 | cost等于Scale @abs_cost to the inverse of @hw_inuse. The lower the hierarchical* weight, the more expensive each IO. Must round up. |
1833 | 否则atomic64_add(abs_cost, & abs_vdebt) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |