write_one_page(9)

write_one_page9

Write out a single page and optionally wait on i/o

Usage

int write_one_page(struct page * page, int wait);

Arguments

page

the page to write

wait

if true, wait on writeout

Overview

The page must be locked by the caller and will be unlocked upon return.

write_one_page returns a negative error code if I/O failed.

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.