From 9ffbb5adcaeec878d3b6db0f8b1f654e839b4689 Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 12 Mar 2004 18:28:14 +0000 Subject: Checkpoint. Add disk caching code and first draft of fractional index. --- src/cmd/venti/fns.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/venti/fns.h') 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); -- cgit v1.2.3