Query: __mark_inode_dirty
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
__MARK_INODE_DIRTY(9) The Linux VFS __MARK_INODE_DIRTY(9)NAME__mark_inode_dirty - internal functionSYNOPSISvoid __mark_inode_dirty(struct inode * inode, int flags);ARGUMENTSinode 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.DESCRIPTIONPut 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. 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.COPYRIGHTKernel Hackers Manual 3.10 June 2014 __MARK_INODE_DIRTY(9)
Related Man Pages |
---|
matchpathcon_filespec_add(3) - centos |
matchpathcon_filespec_destroy(3) - centos |
clri(1m) - hpux |
fsdb(8) - netbsd |
sys_attrs_ufs(5) - osf1 |
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
Set hard block limit for user using quota |
Best performance UNIX just for HOST Virtualization? |
Shopt -s histappend |
CentOS 6 ran out of space, need to reclaim it |