Rechercher une page de manuel
generic_osync_inode
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
generic_osync_inode - flush all dirty data for a given inode to diskSYNOPSIS
- int generic_osync_inode(struct inode * inode, struct address_space * mapping, int what);
ARGUMENTS
inode
- inode to write
mapping
- the address_space that should be flushed
what
- what to write and wait upon
DESCRIPTION
This can be called by file_write functions for files which have the O_SYNC flag set, to flush dirty writes to disk.
what is a bitmask, specifying which part of the inode's data should be written and waited upon.
OSYNC_DATA
i_mapping's dirty data
OSYNC_METADATA
the buffers at i_mapping->private_list
OSYNC_INODE
the inode itself
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre