1PAGE_CACHE_ASYNC_REA(9)   Memory Management in Linux   PAGE_CACHE_ASYNC_REA(9)
2
3
4

NAME

6       page_cache_async_readahead - file readahead for marked pages
7

SYNOPSIS

9       void page_cache_async_readahead(struct address_space * mapping,
10                                       struct file_ra_state * ra,
11                                       struct file * filp, struct page * page,
12                                       pgoff_t offset,
13                                       unsigned long req_size);
14

ARGUMENTS

16       mapping
17           address_space which holds the pagecache and I/O vectors
18
19       ra
20           file_ra_state which holds the readahead state
21
22       filp
23           passed on to ->readpage and ->readpages
24
25       page
26           the page at offset which has the PG_readahead flag set
27
28       offset
29           start offset into mapping, in pagecache page-sized units
30
31       req_size
32           hint: total size of the read which the caller is performing in
33           pagecache pages
34

DESCRIPTION

36       page_cache_async_ondemand should be called when a page is used which
37       has the PG_readahead flag; this is a marker to suggest that the
38       application has used up enough of the readahead window that we should
39       start pulling in more pages.
40
42Kernel Hackers Manual 2.6.         June 2019           PAGE_CACHE_ASYNC_REA(9)
Impressum