__mark_inode_dirty man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

__MARK_INODE_DIRTY(9)		 The Linux VFS		 __MARK_INODE_DIRTY(9)

NAME
       __mark_inode_dirty - internal function

SYNOPSIS
       void __mark_inode_dirty(struct inode * inode, int flags);

ARGUMENTS
       inode
	   inode to mark

       flags
	   what kind of dirty (i.e. I_DIRTY_SYNC) Mark an inode as dirty.
	   Callers should use mark_inode_dirty or mark_inode_dirty_sync.

DESCRIPTION
       Put the inode on the super block´s dirty list.

       CAREFUL! We mark it dirty unconditionally, but move it onto the dirty
       list only if it is hashed or if it refers to a blockdev. If it was not
       hashed, it will never be added to the dirty list even if it is later
       hashed, as it will have been marked dirty already.

       In short, make sure you hash any inodes _before_ you start marking them
       dirty.

       This function *must* be atomic for the I_DIRTY_PAGES case -
       set_page_dirty is called under spinlock in several places.

       Note that for blockdevs, inode->dirtied_when represents the dirtying
       time of the block-special inode (/dev/hda1) itself. And the
       ->dirtied_when field of the kernel-internal blockdev inode represents
       the dirtying time of the blockdev´s pages. This is why for
       I_DIRTY_PAGES we always use page->mapping->host, so the page-dirtying
       time is recorded in the internal blockdev inode.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013		 __MARK_INODE_DIRTY(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net