19#ifndef _RECOV_VOLLOG_H
20#define _RECOV_VOLLOG_H 1
29#define LOGRECORD_BLOCKSIZE 32
30#define VOLLOG_GROWSIZE 32
31#define SEQNO_GROWSIZE \
33#define VERSION_NUMBER 1
35#define MAXWRAPTRIES 32
49 ViceVersionVector *, ResStatus *,
56 unsigned malloced : 8;
77 void *IndexToAddr(
int);
78 void PrintUnreachableRecords(
bitmap *);
Definition: rec_dlist.h:49
Definition: recov_vollog.h:47
recov_vol_log(VolumeId=0, int adm=4096)
Definition: recov_vollog.cc:69
~recov_vol_log()
Definition: recov_vollog.cc:112
int LogSize()
Definition: recov_vollog.cc:218
void RecovFreeRecord(int index) REQUIRES_TRANSACTION
Definition: recov_vollog.cc:320
friend void DumpLog(rec_dlist *, struct Volume *, char **, int *, int *)
Definition: ops.cc:542
void purge() REQUIRES_TRANSACTION
Definition: recov_vollog.cc:330
int AllocViaWrapAround(int *, int *, Volume *, dlist *=NULL) EXCLUDES_TRANSACTION
Definition: recov_vollog.cc:512
friend long RS_LockAndFetch(RPC2_Handle, ViceFid *, ResFetchType, ViceVersionVector *, ResStatus *, RPC2_Integer *)
Definition: reslock.cc:60
void DeallocRecord(int index)
Definition: recov_vollog.cc:283
void SalvageLog(bitmap *) REQUIRES_TRANSACTION
Definition: recov_vollog.cc:356
friend int DumpVolDiskData(int, VolumeDiskData *)
Definition: norton-reinit.cc:129
void Increase_Admin_Limit(int) REQUIRES_TRANSACTION
Definition: recov_vollog.cc:232
resstats * vmrstats
Definition: recov_vollog.h:82
void print()
Definition: recov_vollog.cc:398
void ResetTransients(VolumeId=0)
Definition: recov_vollog.cc:100
int reserved[10]
Definition: recov_vollog.h:83
int bmsize()
Definition: recov_vollog.cc:394
recle * RecovPutRecord(int index) REQUIRES_TRANSACTION
Definition: recov_vollog.cc:302
int AllocRecord(int *index, int *seqno)
Definition: recov_vollog.cc:264
Definition: resstats.h:215
#define REQUIRES_TRANSACTION
Definition: coda_tsa.h:107
#define EXCLUDES_TRANSACTION
Definition: coda_tsa.h:108
void CreateRootLog(Volume *, Vnode *) REQUIRES_TRANSACTION
Definition: ops.cc:314
#define SEQNO_GROWSIZE
Definition: recov_vollog.h:31
void CreateResLog(Volume *, Vnode *)
Definition: ops.cc:346
int32_t RPC2_Integer
Definition: rpc2.h:297
RPC2_Integer RPC2_Handle
Definition: rpc2.h:345
#define NULL
Definition: voltypes.h:44