From d4daacdef153ef05d6a3a6c5431290fa41ffbfc1 Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 24 Jul 2005 13:26:43 +0000 Subject: construct bloom filter in buildindex --- src/cmd/venti/srv/buildindex.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cmd/venti/srv/buildindex.c') diff --git a/src/cmd/venti/srv/buildindex.c b/src/cmd/venti/srv/buildindex.c index 8714474a..4cf60293 100644 --- a/src/cmd/venti/srv/buildindex.c +++ b/src/cmd/venti/srv/buildindex.c @@ -156,5 +156,8 @@ threadmain(int argc, char *argv[]) if(buildindex(mainindex, part, base, clumps, zero) < 0) sysfatal("can't build new index: %r"); + if(mainindex->bloom) + writebloom(mainindex->bloom); + threadexitsall(0); } -- cgit v1.2.3