函数逻辑报告 |
Source Code:block\blk-wbt.c |
Create Date:2022-07-27 19:42:34 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Returns true if the IO request should be accounted, false if not.* May sleep, if we have exceeded the writeback limits. Caller can pass* in an irq held spinlock, if it holds one when calling this function.* If we do sleep, we'll release and re-grab it.
函数原型:static void wbt_wait(struct rq_qos *rqos, struct bio *bio)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct rq_qos * | rqos | |
struct bio * | bio |
584 | flags等于bio_to_wbt_flags(rwb, bio) |
585 | 如果非flags按位与 write, tracked for throttling 的值则 |
586 | 如果flags按位与 read 则wb_timestamp(rwb, & last non-throttled issue ) |
588 | 返回 |
593 | 如果非lk_stat_is_active() - Check if a block statistics callback is currently* gathering statistics.*@cb: The callback.则rwb_arm_timer(rwb) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |