-FSYNC
+FSYNC sits on top of SYNC.
Server:
- FSYNC\_com\_StatsOpHdr(FSSYNC\_StatsOp\_command \* scom, SYNC\_response \* res)
- FSYNC\_com\_StatsOpVLRU(FSSYNC\_StatsOp\_command \* scom, SYNC\_response \* res)
- FSYNC\_com\_to\_info(FSSYNC\_VolOp\_command \* vcom, FSSYNC\_VolOp\_info \* info)
+
+Client:
+
+- FSYNC\_clientInit(void)
+- FSYNC\_clientFinis(void)
+- FSYNC\_clientChildProcReconnect(void)
+- FSYNC\_askfs(SYNC\_command \* com, SYNC\_response \* res)
+- FSYNC\_GenericOp(void \* ext\_hdr, size\_t ext\_len,
+- FSYNC\_VolOp([[VolumeId]] volume, char \* partition,
+- FSYNC\_StatsOp(FSSYNC\_StatsOp\_hdr \* scom, int command, int reason,
--- /dev/null
+-- [[StevenJenkins]] - 11 Jun 2007 [[VInitVolumePackage]] is the main setup program for the fileserver, salvageserver, and volserver (and something else '' the 'volumeUtility && connect'). It initializes the data structures need by each to do their operations. Synchronization is done via `vol_glock_mutex`, `vol_trans_mutex`, `vol_put_volume_cond`, and `vol_sleep_cond`.
+
+- Called by:
+
+1. fileserver
+2. salvageserver
+3. volserver
+4. vol-dump utility
+5. salvager
+6. vol-bless utility (unsupported)
+
+- Does: (among other operations)
+ 1. [[VInitPartitionPackage]]
+ 2. [[VInitVolumeHash]]
+ 3. [[VInitVnodes]] (for small & large vnodes)
+ 4. [[VInitVolumePackage]]
+ 5. [[VAttachVolumesByPartition]]