函数逻辑报告 |
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 |
函数名称:Create workqueue for deferred direct IO completions. We allocate the* workqueue when it's first needed. This avoids creating workqueue for* filesystems that don't need it and also allows us to create the workqueue
函数原型:int sb_init_dio_done_wq(struct super_block *sb)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct super_block * | sb |
596 | wq等于alloc_workqueue("dio/%s", WQ_MEM_RECLAIM, 0, s_id) |
604 | old等于cmpxchg( & s_dio_done_wq, NULL, wq) |
606 | 如果old则destroy_workqueue - safely terminate a workqueue*@wq: target workqueue* Safely destroy a workqueue. All work currently pending will be done first. |
608 | 返回:0 |
名称 | 描述 |
---|---|
dio_set_defer_completion | |
do_blockdev_direct_IO | This is a library function for use by filesystem drivers |
iomap_dio_rw | map_dio_rw() always completes O_[D]SYNC writes regardless of whether the IO* is being issued as AIO or not. This allows us to optimise pure data writes* to use REQ_FUA rather than requiring generic_write_sync() to issue a* REQ_FLUSH post write |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |