Requests that file system changes be written to permanent storage.
int vfs_sync (* gfsp)
struct gfs *gfsp;
Item | Description |
---|---|
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.
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® Version 7.1 Kernel Extensions and Device Support Programming Concepts.