Rechercher une page de manuel
page_cache_async_readahead
Langue: en
Version: May 2009 (fedora - 06/07/09)
Section: 9 (Appels noyau Linux)
NAME
page_cache_async_readahead - file readahead for marked pagesSYNOPSIS
- void page_cache_async_readahead(struct address_space * mapping, struct file_ra_state * ra, struct file * filp, struct page * page, pgoff_t offset, unsigned long req_size);
ARGUMENTS
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 which has the PG_readahead flag set
offset
- start offset into mapping, in pagecache page-sized units
req_size
- hint: total size of the read which the caller is performing in pagecache pages
DESCRIPTION
page_cache_async_ondemand should be called when a page is used which has the PG_readahead flag; this is a marker to suggest that the application has used up enough of the readahead window that we should start pulling in more pages.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre