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

NAME

6       read_cache_page_async - read into page cache, fill it if needed
7

SYNOPSIS

9       struct page * read_cache_page_async(struct address_space * mapping,
10                                           pgoff_t index,
11                                           int (*filler) (void *, struct page *),
12                                           void * data);
13

ARGUMENTS

15       mapping
16           the page's address_space
17
18       index
19           the page index
20
21       filler
22           function to perform the read
23
24       data
25           first arg to filler(data, page) function, often left as NULL
26

DESCRIPTION

28       Same as read_cache_page, but don't wait for page to become unlocked
29       after submitting it to the filler.
30
31       Read into the page cache. If a page already exists, and PageUptodate is
32       not set, try to fill the page but don't wait for it to become unlocked.
33
34       If the page does not get brought uptodate, return -EIO.
35
37Kernel Hackers Manual 3.10         June 2019           READ_CACHE_PAGE_ASYN(9)
Impressum