函数逻辑报告 | 
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 | 
函数名称:Wait for the next BIO to complete. Remove it and return it. NULL is* returned once all BIOs have been completed. This must only be called once* all bios have been issued so that dio->refcount can only decrease. This
函数原型:static struct bio *dio_await_one(struct dio *dio)
返回类型:struct bio
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct dio * | dio | 
| 489 | spin_lock_irqsave( & protects BIO fields below , flags) | 
| 497 | 当(direct_io_worker() and bios > 1 && singly linked via bi_private == NULL)循环 | 
| 501 | 如果非ki_flags按位与IOCB_HIPRI的值或非blk_poll(queue, bio_cookie, true)则io_schedule() | 
| 505 | spin_lock_irqsave( & protects BIO fields below , flags) | 
| 506 | waiting task (NULL if none) = NULL | 
| 508 | 如果singly linked via bi_private 则 | 
| 513 | 返回:bio | 
| 名称 | 描述 | 
|---|---|
| dio_await_completion | Wait on and process all in-flight BIOs | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |