Function report |
Source Code:mm\readahead.c |
Create Date:2022-07-28 14:12:14 |
Last Modify:2020-03-17 21:13:07 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:page_cache_sync_readahead - generic file readahead*@mapping: address_space which holds the pagecache and I/O vectors*@ra: file_ra_state which holds the readahead state*@filp: passed on to ->readpage() and ->readpages()*@offset: start offset into @mapping,
Proto:void page_cache_sync_readahead(struct address_space *mapping, struct file_ra_state *ra, struct file *filp, unsigned long offset, unsigned long req_size)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct address_space * | mapping | |
struct file_ra_state * | ra | |
struct file * | filp | |
unsigned long | offset | |
unsigned long | req_size |
514 | If Not Maximum readahead window Then Return |
517 | If blk_cgroup_congested() Then Return |
521 | If filp && f_mode & Expect random access pattern Then |
523 | Return |
Name | Describe |
---|---|
do_sync_mmap_readahead | Synchronous readahead happens when we don't even find a page in the page* cache at all. We don't want to perform IO under the mmap sem, so if we have* to drop the mmap sem we return the file that was pinned in order for us to do* that |
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 |