MARK_BUFFER_DIRTY

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

mark_buffer_dirty - mark a buffer_head as needing writeout  

SYNOPSIS

"SYNOPSIS"

void mark_buffer_dirty (struct buffer_head * bh);  

ARGUMENTS

bh
-- undescribed --
 

DESCRIPTION

mark_buffer_dirty will set the dirty bit against the buffer, then set its backing page dirty, then attach the page to its address_space's dirty_pages list 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->page_lock and the global inode_lock.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 06:20:58 GMT, October 06, 2005