venti: fix vtcachealloc and VtMaxLumpSize
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5309073
This commit is contained in:
parent
4544da5200
commit
db60da46b3
3 changed files with 14 additions and 2 deletions
|
|
@ -65,7 +65,7 @@ threadmain(int argc, char *argv[])
|
|||
sysfatal("vtconnect: %r");
|
||||
|
||||
// write file
|
||||
c = vtcachealloc(z, Blocksize, 32);
|
||||
c = vtcachealloc(z, Blocksize*32);
|
||||
if(c == nil)
|
||||
sysfatal("vtcachealloc: %r");
|
||||
f = vtfilecreateroot(c, Blocksize, Blocksize, VtDataType);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue