GENERIC_OSYNC_INODE

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

generic_osync_inode - flush all dirty data for a given inode to disk  

SYNOPSIS

"SYNOPSIS"

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


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
WRITTEN AND WAITED UPON
OSYNC_DATA
OSYNC_METADATA
OSYNC_INODE

This document was created by man2html, using the manual pages.
Time: 00:02:11 GMT, October 09, 2005