Veritas™ File System Programmer's Reference Guide - Solaris
- Veritas File System software developer's kit
- File Change Log
- About the File Change Log file
- Record types
- File Change Log tunables
- Application programming interface for File Change Log
- API functions
- File Change Log record
- Copying File Change Log records
- Veritas File System and File Change Log upgrade and downgrade
- Reverse path name lookup
- Multi-volume support
- Named data streams
- Veritas File System I/O
- Caching advisories
- Extents
- Thin Reclamation
vxfs_fcl_sync
The vxfs_fcl_sync() function sets a synchronization point within the FCL file. This function is kept for backward compatibility.
Before the availability of the VxFS 5.0 API to access the FCL file, applications would typically call vxfs_fcl_sync to get the FCL to a stable state and set an offset in the FCL file to use as a reference point to stop reading. The application would then store the offset and use it to determine files changes since the last FCL read time. A vxfs_fcl_sync() call ensured that if a file had been written to or opened, there would be at least one corresponding write or open record in the FCL after the synchronization offset. This would happen even if the time specified by fcl_winterval or fcl_ointerval had not elapsed since the last record was written.
With FCL access API in the VxFS 5.0 and later releases, synchronization is done automatically when the FCL file is opened through vxfs_fcl_open(). The vxfs_fcl_open() function sets a synchronization point and determines a reference end offset internally.