|
Coda Distributed File System
|
#include <stdio.h>#include "coda_string.h"#include <sys/param.h>#include <sys/file.h>#include <sys/stat.h>#include <sys/wait.h>#include <errno.h>#include <unistd.h>#include <stdlib.h>#include <fcntl.h>#include <rvm/rds.h>#include <rvm/rvm.h>#include <rvm/rvm_segment.h>#include <rvm/rvm_statistics.h>#include "fso.h"#include "hdb.h"#include "local.h"#include "mariner.h"#include "venus.private.h"#include "venusrecov.h"#include "worker.h"
Macros | |
| #define | MAX(a, b) (((a) > (b)) ? (a) : (b)) |
| #define | RECOV_BYTES_NEEDED() |
Functions | |
| void | rpc2_InitRandom () |
| void | RecovInit (void) |
| void | _Recov_BeginTrans (const char file[], int line) |
| void | Recov_EndTrans (int time) |
| void | Recov_SetBound (int bound) |
| void | RecovFlush (int Force) |
| void | RecovTruncate (int Force) |
| void | RecovTerminate () TRANSACTION_OPTIONAL |
| void | RecovPrint (int fd) |
| RPC2_String | Copy_RPC2_String (RPC2_String &src) |
| void | Free_RPC2_String (RPC2_String &STR) |
| void | RECOVD_Init (void) |
| void | RecovDaemon (void) |
| void | Recov_GenerateStoreId (ViceStoreId *sid) |
Variables | |
| int | RecovInited = 0 |
| RecovVenusGlobals * | rvg = 0 |
| int | TransCount = 0 |
| float | TransElapsed = 0.0 |
| int | MapPrivate = 0 |
| int | InitMetaData = UNSET_IMD |
| int | InitNewInstance = UNSET_IMD |
| const char * | VenusLogDevice = NULL |
| unsigned long | VenusLogDeviceSize = UNSET_VLDS |
| const char * | VenusDataDevice = NULL |
| unsigned long | VenusDataDeviceSize = UNSET_VDDS |
| int | RdsChunkSize = UNSET_RDSCS |
| int | RdsNlists = UNSET_RDSNL |
| int | CMFP = UNSET_CMFP |
| int | DMFP = UNSET_DMFP |
| int | MAXFP = UNSET_MAXFP |
| int | WITT = UNSET_WITT |
| unsigned long | MAXFS = UNSET_MAXFS |
| unsigned long | MAXTS = UNSET_MAXTS |
| #define MAX | ( | a, | |
| b | |||
| ) | (((a) > (b)) ? (a) : (b)) |
| #define RECOV_BYTES_NEEDED | ( | ) |
| void _Recov_BeginTrans | ( | const char | file[], |
| int | line | ||
| ) |
| RPC2_String Copy_RPC2_String | ( | RPC2_String & | src | ) |
| void Free_RPC2_String | ( | RPC2_String & | STR | ) |
| void Recov_EndTrans | ( | int | time | ) |
| void Recov_GenerateStoreId | ( | ViceStoreId * | sid | ) |
| void Recov_SetBound | ( | int | bound | ) |
| void RECOVD_Init | ( | void | ) |
| void RecovDaemon | ( | void | ) |
| void RecovFlush | ( | int | Force | ) |
| void RecovInit | ( | void | ) |
| void RecovPrint | ( | int | fd | ) |
| void RecovTerminate | ( | ) |
| void RecovTruncate | ( | int | Force | ) |
| void rpc2_InitRandom | ( | ) |
| int CMFP = UNSET_CMFP |
| int DMFP = UNSET_DMFP |
| int InitMetaData = UNSET_IMD |
| int InitNewInstance = UNSET_IMD |
| int MapPrivate = 0 |
| int MAXFP = UNSET_MAXFP |
| unsigned long MAXFS = UNSET_MAXFS |
| unsigned long MAXTS = UNSET_MAXTS |
| int RdsChunkSize = UNSET_RDSCS |
| int RdsNlists = UNSET_RDSNL |
| int RecovInited = 0 |
| RecovVenusGlobals* rvg = 0 |
| int TransCount = 0 |
| float TransElapsed = 0.0 |
| const char* VenusDataDevice = NULL |
| unsigned long VenusDataDeviceSize = UNSET_VDDS |
| const char* VenusLogDevice = NULL |
| unsigned long VenusLogDeviceSize = UNSET_VLDS |
| int WITT = UNSET_WITT |