函数逻辑报告 |
Source Code:fs\direct-io.c |
Create Date:2022-07-29 10:46:32 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:In the AIO read case we speculatively dirty the pages before starting IO.* During IO completion, any of these pages which happen to have been written* back will be redirtied by bio_check_pages_dirty().
函数原型:static inline void dio_bio_submit(struct dio *dio, struct dio_submit *sdio)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct dio * | dio | |
| struct dio_submit * | sdio |
| 444 | bio等于 under assembly |
| 447 | bi_private等于dio |
| 449 | spin_lock_irqsave( & protects BIO fields below , flags) |
| 450 | direct_io_worker() and bios 自加 |
| 458 | 如果IO submition function 则 |
| 460 | bio_cookie等于BLK_QC_T_NONE |
| 461 | 否则bio_cookie等于submit_bio(bio) |
| 464 | under assembly = NULL |
| 465 | prev block is at a boundary 等于0 |
| 名称 | 描述 |
|---|---|
| dio_send_cur_page | Put cur_page under IO |
| submit_page_section | An autonomous function to put a chunk of a page under deferred IO.* The caller doesn't actually know (or care) whether this piece of page is in* a BIO, or is under IO or whatever. We just take care of all possible * situations here |
| do_blockdev_direct_IO | This is a library function for use by filesystem drivers |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |