plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 651ababc7475a05d9719065763399da5b58bfb76
parent a09e85757d8163ff759112a14f308e465b38b52a
Author: rsc <devnull@localhost>
Date:   Mon, 26 Jun 2006 00:04:22 +0000

bigger block size

Diffstat:
Msrc/cmd/vbackup/vftp.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cmd/vbackup/vftp.c b/src/cmd/vbackup/vftp.c @@ -403,7 +403,7 @@ threadmain(int argc, char **argv) if(access(argv[0], AEXIST) >= 0 || strchr(argv[0], '/')){ if((disk = diskopenfile(argv[0])) == nil) sysfatal("diskopen: %r"); - if((disk = diskcache(disk, 16384, 16)) == nil) + if((disk = diskcache(disk, 32768, 16)) == nil) sysfatal("diskcache: %r"); }else{ if(vtparsescore(argv[0], nil, score) < 0) @@ -412,7 +412,7 @@ threadmain(int argc, char **argv) sysfatal("vtdial: %r"); if(vtconnect(z) < 0) sysfatal("vtconnect: %r"); - if((c = vtcachealloc(z, 16384, 32)) == nil) + if((c = vtcachealloc(z, 32768, 32)) == nil) sysfatal("vtcache: %r"); if((disk = diskopenventi(c, score)) == nil) sysfatal("diskopenventi: %r");