table of contents
other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
MARK_BUFFER_DIRTY(9) | The Linux VFS | MARK_BUFFER_DIRTY(9) |
NAME¶
mark_buffer_dirty - mark a buffer_head as needing writeoutSYNOPSIS¶
void
mark_buffer_dirty(struct buffer_head * bh);
ARGUMENTS¶
bhthe 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 mapping->host->i_lock.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |