1MARK_BUFFER_DIRTY(9)             The Linux VFS            MARK_BUFFER_DIRTY(9)
2
3
4

NAME

6       mark_buffer_dirty - mark a buffer_head as needing writeout
7

SYNOPSIS

9       void mark_buffer_dirty(struct buffer_head * bh);
10

ARGUMENTS

12       bh
13           the buffer_head to mark dirty
14

DESCRIPTION

16       mark_buffer_dirty will set the dirty bit against the buffer, then set
17       its backing page dirty, then tag the page as dirty in its
18       address_space´s radix tree and then attach the address_space´s inode to
19       its superblock´s dirty inode list.
20
21       mark_buffer_dirty is atomic. It takes
22       bh->b_page->mapping->private_lock, mapping->tree_lock and the global
23       inode_lock.
24
26Kernel Hackers Manual 2.6.         June 2019              MARK_BUFFER_DIRTY(9)
Impressum