page_cache_readahead — generic adaptive readahead
unsigned long page_cache_readahead ( | struct address_space * | mapping, |
| struct file_ra_state * | ra, | |
| struct file * | filp, | |
| pgoff_t | offset, | |
| unsigned long | req_size); |
mappingaddress_space which holds the pagecache and I/O vectors
rafile_ra_state which holds the readahead state
filp
passed on to ->readpage and ->readpages
offset
start offset into mapping, in PAGE_CACHE_SIZE units
req_sizehint: total size of the read which the caller is performing in PAGE_CACHE_SIZE units