carta
sync_page_range_nolock(9)

sync_page_range_nolock9

Write & wait on all pages in the passed range without locking

Arguments

inode

target inode

mapping

target address_space

pos

beginning offset in pages to write

count

number of bytes to write

Note

Holding i_mutex across sync_page_range_nolock is not a good idea as it forces O_SYNC writers to different parts of the same file to be serialised right until io completion.

History

  • Debian 5.0 (Lenny): the text shown here
  • Debian 4.0 (Etch)

From linux-manual-2.6.26 2.6.26-29 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.