read_cache_page_async

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

read_cache_page_async - read into page cache, fill it if needed

SYNOPSIS

struct page * read_cache_page_async(struct address_space * mapping, pgoff_t index, int (*filler) (void *,struct page*), void * data);

ARGUMENTS

mapping

the page's address_space

index

the page index

filler

function to perform the read

data

destination for read data

DESCRIPTION

Same as read_cache_page, but don't wait for page to become unlocked after submitting it to the filler.

Read into the page cache. If a page already exists, and PageUptodate is not set, try to fill the page but don't wait for it to become unlocked.

If the page does not get brought uptodate, return -EIO.