函数逻辑报告 |
Source Code:fs\direct-io.c |
Create Date:2022-07-29 10:46:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:A really large O_DIRECT read or write can generate a lot of BIOs. So* to keep the memory consumption sane we periodically reap any completed BIOs* during the BIO generation phase.* This also helps to limit the peak amount of pinned userspace memory.
函数原型:static inline int dio_bio_reap(struct dio *dio, struct dio_submit *sdio)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct dio * | dio | |
struct dio_submit * | sdio |
566 | ret等于0 |
568 | 如果ate limit reaping 自加大于等于64则 |
574 | spin_lock_irqsave( & protects BIO fields below , flags) |
578 | ret2等于blk_status_to_errno(dio_bio_complete(dio, bio)) |
582 | ate limit reaping 等于0 |
584 | 返回:ret |
名称 | 描述 |
---|---|
dio_new_bio | There is no bio. Make one now. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |