Function report |
Source Code:mm\filemap.c |
Create Date:2022-07-28 14:03:15 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Warn about a page cache invalidation failure during a direct I/O write.
Proto:void dio_warn_stale_pagecache(struct file *filp)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | filp |
| 3148 | DEFINE_RATELIMIT_STATE(_rs, 86400 * HZ, DEFAULT_RATELIMIT_BURST) |
| 3150 | inode = file_inode(filp) |
| 3154 | If __ratelimit( & _rs) Then |
| 3158 | pr_crit("Page cache invalidation failure on direct I/O. Possible data corruption due to collision with buffered I/O!\n") |
| Name | Describe |
|---|---|
| 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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |