[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 1

vfs_sync Entry Point

Purpose

Requests that file system changes be written to permanent storage.

Syntax

int vfs_sync (*gfsp)
struct gfs *gfsp;

Parameter

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.

Description

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.

Execution Environment

The vfs_sync entry point can be called from the process environment only.

Return Values

The vfs_sync entry point is advisory. It has no return values.

Related Information

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.


[ Previous | Next | Contents | Home | Search ]