generic_osync_inode — flush all dirty data for a given inode to disk
inode to write
the address_space that should be flushed
what to write and wait upon
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.
i_mapping's dirty data
the buffers at i_mapping->private_list
the inode itself