From 75d048884cfcb7cc4404b384da50923e22224365 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 25 May 2009 02:11:27 -0700 Subject: venti: 32-bit extensions to data structures --- src/cmd/venti/srv/dat.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/cmd/venti/srv/dat.h') diff --git a/src/cmd/venti/srv/dat.h b/src/cmd/venti/srv/dat.h index b0b942b8..7b2bf49d 100644 --- a/src/cmd/venti/srv/dat.h +++ b/src/cmd/venti/srv/dat.h @@ -37,6 +37,12 @@ typedef struct Bloom Bloom; enum { + /* + * formerly fundamental constant, + * now a server-imposed limitation. + */ + VtMaxLumpSize = 56*1024, + ABlockLog = 9, /* log2(512), the quantum for reading arenas */ ANameSize = 64, MaxDiskBlock = 64*1024, /* max. allowed size for a disk block */ -- cgit v1.2.3