diff options
| author | rsc <devnull@localhost> | 2004-03-12 18:28:14 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2004-03-12 18:28:14 +0000 |
| commit | 9ffbb5adcaeec878d3b6db0f8b1f654e839b4689 (patch) | |
| tree | bfd7abf95e87e3b97f3ae2e0ae3bf59c30839cc7 /src/cmd/venti/fns.h | |
| parent | 7c5190d2c854128fb607289e9d83379e522c7090 (diff) | |
| download | plan9port-9ffbb5adcaeec878d3b6db0f8b1f654e839b4689.tar.gz plan9port-9ffbb5adcaeec878d3b6db0f8b1f654e839b4689.zip | |
Checkpoint.
Add disk caching code and first draft of fractional index.
Diffstat (limited to 'src/cmd/venti/fns.h')
| -rw-r--r-- | src/cmd/venti/fns.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/venti/fns.h b/src/cmd/venti/fns.h index b3d158f6..f8274397 100644 --- a/src/cmd/venti/fns.h +++ b/src/cmd/venti/fns.h @@ -20,7 +20,6 @@ void *erealloc(void *, ulong); char *estrdup(char*); void *ezmalloc(ulong); Arena *findarena(char *name); -ISect *findisect(Index *ix, u32int buck); int flushciblocks(Arena *arena); void flushdcache(void); void flushqueue(void); @@ -57,6 +56,7 @@ int initventi(char *config); void insertlump(Lump *lump, Packet *p); int insertscore(u8int *score, IAddr *ia, int write); ZBlock *loadclump(Arena *arena, u64int aa, int blocks, Clump *cl, u8int *score, int verify); +DBlock *loadibucket(Index *index, u8int *score, ISect **is, u32int *buck, IBucket *ib); int loadientry(Index *index, u8int *score, int type, IEntry *ie); void logerr(int severity, char *fmt, ...); Lump *lookuplump(u8int *score, int type); |
