函数逻辑报告 |
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 |
函数名称:dio_bio_complete
函数原型:static blk_status_t dio_bio_complete(struct dio *dio, struct bio *bio)
返回类型:blk_status_t
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct dio * | dio | |
| struct bio * | bio |
| 524 | 如果err则 |
| 525 | 如果err恒等于BLK_STS_AGAIN且 bottom bits req flags, * top bits REQ_OP. Use * accessors.按位与REQ_NOWAIT则IO error in completion path 等于负EAGAIN |
| 527 | 否则IO error in completion path 等于负EIO |
| 531 | 如果s IO async ? 且should_dirty则 |
| 532 | bio_check_pages_dirty(bio) |
| 533 | 否则 |
| 534 | bio_release_pages(bio, should_dirty) |
| 537 | 返回:err |
| 名称 | 描述 |
|---|---|
| dio_bio_end_aio | Asynchronous IO callback. |
| dio_await_completion | Wait on and process all in-flight BIOs |
| dio_bio_reap | 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. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |