|
Coda Distributed File System
|
#include <stdio.h>#include "coda_string.h"#include <sys/types.h>#include <sys/stat.h>#include <struct.h>#include <sys/param.h>#include <sys/wait.h>#include <unistd.h>#include <stdlib.h>#include <dirent.h>#include <vcrcommon.h>#include "fso.h"#include "hdb.h"#include "local.h"#include "mariner.h"#include "user.h"#include "venus.private.h"#include "venusrecov.h"#include "venusvol.h"#include "vproc.h"#include "worker.h"
Macros | |
| #define | Hoard 1 |
| #define | NonHoard 0 |
| #define | UnknownHoard -1 |
| #define | FSOBJSIZE NBLOCKS(sizeof(fsobj)) |
Functions | |
| void | FSOInit () |
| int | FSO_PriorityFN (bsnode *b1, bsnode *b2) |
| void | UpdateCacheStats (CacheStats *c, enum CacheEvent event, unsigned long blocks) |
| void | PrintCacheStats (const char *description, CacheStats *c, int fd) |
| void | VenusToViceStatus (VenusStat *venusstat, ViceStatus *vicestat) |
Variables | |
| unsigned int | CacheFiles = 0 |
| unsigned int | PartialCacheFilesRatio = 0 |
| uint64_t | WholeFileMaxSize = 0 |
| uint64_t | WholeFileMinSize = 0 |
| uint64_t | WholeFileMaxStall = 0 |
| int | FSO_SWT = UNSET_SWT |
| int | FSO_MWT = UNSET_MWT |
| int | FSO_SSF = UNSET_SSF |
| #define Hoard 1 |
| #define NonHoard 0 |
| #define UnknownHoard -1 |
| void FSOInit | ( | ) |
| void PrintCacheStats | ( | const char * | description, |
| CacheStats * | c, | ||
| int | fd | ||
| ) |
| void UpdateCacheStats | ( | CacheStats * | c, |
| enum CacheEvent | event, | ||
| unsigned long | blocks | ||
| ) |
| void VenusToViceStatus | ( | VenusStat * | venusstat, |
| ViceStatus * | vicestat | ||
| ) |
| unsigned int CacheFiles = 0 |
| int FSO_MWT = UNSET_MWT |
| int FSO_SSF = UNSET_SSF |
| int FSO_SWT = UNSET_SWT |
| unsigned int PartialCacheFilesRatio = 0 |
| uint64_t WholeFileMaxSize = 0 |
| uint64_t WholeFileMaxStall = 0 |
| uint64_t WholeFileMinSize = 0 |