Coda Distributed File System
Macros | Functions
fssync.h File Reference
#include <coda_tsa.h>
#include "deprecations.h"
Include dependency graph for fssync.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FSYNC_ON   1 /* Volume online */
 
#define FSYNC_OFF   2 /* Volume offline */
 
#define FSYNC_NEEDVOLUME
 
#define FSYNC_MOVEVOLUME
 
#define FSYNC_WHATEVER   0 /* XXXX */
 
#define FSYNC_SALVAGE   1 /* volume is being salvaged */
 
#define FSYNC_MOVE   2 /* volume is being moved */
 
#define FSYNC_OPERATOR   3 /* operator forced volume offline */
 
#define FSYNC_DENIED   0
 
#define FSYNC_OK   1
 

Functions

void FSYNC_fsInit ()
 
int FSYNC_clientInit ()
 
void FSYNC_clientFinis ()
 
int FSYNC_askfs (VolumeId volume, int com, int reason)
 
unsigned int FSYNC_CheckRelocationSite (VolumeId volumeId) WARN_SINGLE_HOMING
 

Macro Definition Documentation

◆ FSYNC_DENIED

#define FSYNC_DENIED   0

◆ FSYNC_MOVE

#define FSYNC_MOVE   2 /* volume is being moved */

◆ FSYNC_MOVEVOLUME

#define FSYNC_MOVEVOLUME
Value:
5 /* Generate temporary relocation information
for this volume to another site, to be used
if this volume disappears */

◆ FSYNC_NEEDVOLUME

#define FSYNC_NEEDVOLUME
Value:
4 /* Put volume in whatever mode (offline, or
whatever) best fits the attachment mode
provided in reason */

◆ FSYNC_OFF

#define FSYNC_OFF   2 /* Volume offline */

◆ FSYNC_OK

#define FSYNC_OK   1

◆ FSYNC_ON

#define FSYNC_ON   1 /* Volume online */

◆ FSYNC_OPERATOR

#define FSYNC_OPERATOR   3 /* operator forced volume offline */

◆ FSYNC_SALVAGE

#define FSYNC_SALVAGE   1 /* volume is being salvaged */

◆ FSYNC_WHATEVER

#define FSYNC_WHATEVER   0 /* XXXX */

Function Documentation

◆ FSYNC_askfs()

int FSYNC_askfs ( VolumeId  volume,
int  com,
int  reason 
)

◆ FSYNC_CheckRelocationSite()

unsigned int FSYNC_CheckRelocationSite ( VolumeId  volumeId)

◆ FSYNC_clientFinis()

void FSYNC_clientFinis ( )

◆ FSYNC_clientInit()

int FSYNC_clientInit ( )

◆ FSYNC_fsInit()

void FSYNC_fsInit ( )