Checkpoint.
Add disk caching code and first draft of fractional index.
This commit is contained in:
parent
7c5190d2c8
commit
9ffbb5adca
15 changed files with 453 additions and 366 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue