From 333c1dccc2f9af67b9c3d8513cca492d022fab4f Mon Sep 17 00:00:00 2001 From: rsc Date: Sat, 13 Mar 2004 04:35:13 +0000 Subject: 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. --- src/cmd/venti/dat.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/cmd/venti/dat.h') 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 * * * + * + * + * + * * * * @@ -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 */ -- cgit v1.2.3