Rechercher une page de manuel
mark_buffer_dirty
Langue: en
Version: May 2009 (fedora - 06/07/09)
Section: 9 (Appels noyau Linux)
NAME
mark_buffer_dirty - mark a buffer_head as needing writeoutSYNOPSIS
- void mark_buffer_dirty(struct buffer_head * bh);
ARGUMENTS
bh
- the buffer_head to mark dirty
DESCRIPTION
mark_buffer_dirty will set the dirty bit against the buffer, then set its backing page dirty, then tag the page as dirty in its address_space's radix tree and then attach the address_space's inode to its superblock's dirty inode list.
mark_buffer_dirty is atomic. It takes bh->b_page->mapping->private_lock, mapping->tree_lock and the global inode_lock.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre