Function report |
Source Code:mm\filemap.c |
Create Date:2022-07-28 14:02:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:CD/DVDs are error prone. When a medium error occurs, the driver may fail* a _large_ part of the i/o request. Imagine the worst scenario:* ---R__________________________________________B__________* ^ reading here ^ bad block(assume 4k)
Proto:static void shrink_readahead_size_eio(struct file *filp, struct file_ra_state *ra)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | filp | |
struct file_ra_state * | ra |
1990 | Maximum readahead window /= 4 |
Name | Describe |
---|---|
generic_file_buffered_read | generic_file_buffered_read - generic file read routine*@iocb: the iocb to read*@iter: data destination*@written: already copied* This is a generic file read routine, and uses the* mapping->a_ops->readpage() function for the actual low-level stuff. |
filemap_fault | lemap_fault - read in file data for page fault handling*@vmf: struct vm_fault containing details of the fault* filemap_fault() is invoked via the vma operations vector for a* mapped memory region to read in file data during a page fault |
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 |