Function report |
Source Code:mm\readahead.c |
Create Date:2022-07-28 14:12:15 |
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_async_readahead - file readahead for marked pages*@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()*@page: the page at @offset
Proto:void page_cache_async_readahead(struct address_space *mapping, struct file_ra_state *ra, struct file *filp, struct page *page, 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 | |
struct page * | page | |
unsigned long | offset | |
unsigned long | req_size |
553 | If Not Maximum readahead window Then Return |
559 | If Only test-and-set exist for PG_writeback. The unconditional operators are* risky: they bypass page accounting. Then Return |
562 | ClearPageReadahead(page) |
567 | If inode_read_congested(host) Then Return |
570 | If blk_cgroup_congested() Then Return |
Name | Describe |
---|---|
do_async_mmap_readahead | Asynchronous readahead happens when we find the page and PG_readahead,* so we want to possibly extend the readahead further. We return the file that* was pinned if we have to drop the mmap_sem in order to do IO. |
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 |