read_cache_pages(9)

read_cache_pages9

Populate an address space with some pages & start reads against them

Usage

int read_cache_pages(struct address_space * mapping, struct list_head * pages, int (*filler) (void *, struct page *), void * data);

Arguments

mapping

the address_space

pages

The address of a list_head which contains the target pages. These pages have their ->index populated and are otherwise uninitialised.

filler

callback routine for filling a single page.

data

private data for the callback routine.

Overview

Hides the details of the LRU cache etc from the filesystems.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.