Requests that file system changes be written to permanent storage.
int vfs_sync (*gfsp) struct gfs *gfsp;
gfsp | Points to a gfs structure. The gfs structure describes the file system type. This structure is defined in the /usr/include/sys/gfs.h file. |
The vfs_sync entry point is used by the logical file system to force all data associated with a particular virtual file system type to be written to its storage. This entry point is used to establish a known consistent state of the data.
Note: The vfs_sync entry point is called once per file system type rather than once per virtual file system.
The vfs_sync entry point can be called from the process environment only.
The vfs_sync entry point is advisory. It has no return values.
The sync subroutine.
Virtual File System Overview, Virtual File System Kernel Extensions Overview, Logical File System Overview, Understanding Virtual Nodes (V-nodes) in AIX Kernel Extensions and Device Support Programming Concepts.
List of Virtual File System Operations.