venti: add bootstrap mode (write + no index)

R=rsc, rsc
http://codereview.appspot.com/6097047
This commit is contained in:
Russ Cox 2012-04-22 15:27:06 -04:00
parent a2df31f46d
commit e7e953b3da
4 changed files with 9 additions and 0 deletions

View file

@ -740,6 +740,7 @@ extern Stats stats;
extern u8int zeroscore[VtScoreSize];
extern int compressblocks;
extern int writestodevnull; /* dangerous - for performance debugging */
extern int bootstrap; /* writes but does not index - cannot read */
extern int collectstats;
extern QLock memdrawlock;
extern int icachesleeptime;