diff options
| author | rsc <devnull@localhost> | 2004-03-13 04:35:13 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2004-03-13 04:35:13 +0000 |
| commit | 333c1dccc2f9af67b9c3d8513cca492d022fab4f (patch) | |
| tree | db2339b876058f9b21c228ce500336a88d6b954e /src/cmd/venti/dat.h | |
| parent | 9ffbb5adcaeec878d3b6db0f8b1f654e839b4689 (diff) | |
| download | plan9port-333c1dccc2f9af67b9c3d8513cca492d022fab4f.tar.gz plan9port-333c1dccc2f9af67b9c3d8513cca492d022fab4f.zip | |
Add binary fraction tree index.
The old index code is still
supported too. Buildindex and
checkindex need to be revisited,
though they should be easy to adapt.
Diffstat (limited to 'src/cmd/venti/dat.h')
| -rw-r--r-- | src/cmd/venti/dat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cmd/venti/dat.h b/src/cmd/venti/dat.h index 49c8b38b..98c935ed 100644 --- a/src/cmd/venti/dat.h +++ b/src/cmd/venti/dat.h @@ -124,6 +124,7 @@ enum DirtyIndex, DirtyIndexBitmap, DirtyArenaCib, + DirtyArenaTrailer, DirtyMax, VentiZZZZZZZZ @@ -355,6 +356,10 @@ struct Clump * <field name="tabsize" val="s->tabsize" type="U32int"/> * <field name="buckets" val="s->buckets" type="U32int"/> * <field name="buckdiv" val="s->div" type="U32int"/> + * <field name="bitblocks" val="s->div" type="U32int"/> + * <field name="maxdepth" val="s->div" type="U32int"/> + * <field name="bitkeylog" val="s->div" type="U32int"/> + * <field name="bitkeymask" val="s->div" type="U32int"/> * <array name="sect" val="&s->smap[i]" elems="s->nsects" type="Amap"/> * <array name="amap" val="&s->amap[i]" elems="s->narenas" type="Amap"/> * <array name="arena" val="s->arenas[i]" elems="s->narenas" type="Arena"/> @@ -495,6 +500,7 @@ struct Stats long indexreads; /* index from disk */ long indexwreads; /* for writing a new entry */ long indexareads; /* for allocating an overflow block */ + long indexsplits; /* index block splits */ long diskwrites; /* total disk writes */ long diskreads; /* total disk reads */ vlong diskbwrites; /* total disk bytes written */ |
