函数逻辑报告 |
Source Code:mm\filemap.c |
Create Date:2022-07-27 15:26:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Warn about a page cache invalidation failure during a direct I/O write.
函数原型:void dio_warn_stale_pagecache(struct file *filp)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | filp |
3148 | DEFINE_RATELIMIT_STATE(_rs, 86400 * HZ, DEFAULT_RATELIMIT_BURST) |
3150 | inode等于file_inode(filp) |
3154 | 如果__ratelimit( & _rs)则 |
3158 | 打印错误信息("Page cache invalidation failure on direct I/O. Possible data corruption due to collision with buffered I/O!\n") |
名称 | 描述 |
---|---|
generic_file_direct_write | |
iomap_dio_complete | |
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 |
dio_complete | dio_complete() - called when all DIO BIO I/O has been completed* This drops i_dio_count, lets interested parties know that a DIO operation* has completed, and calculates the resulting return code for the operation |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |