1WRITE_ONE_PAGE(9) Memory Management in Linux WRITE_ONE_PAGE(9)
23
4
NAME
6write_one_page - write out a single page and optionally wait on I/O
7
SYNOPSIS
9int write_one_page(struct page * page, int wait);
10
ARGUMENTS
12page
13the page to write
1415
wait
16if true, wait on writeout
17
DESCRIPTION
19The page must be locked by the caller and will be unlocked upon return.
2021
write_one_page returns a negative error code if I/O failed.
22
COPYRIGHT
24Kernel Hackers Manual 3.10 June 2019 WRITE_ONE_PAGE(9)