diff options
author | rsc <devnull@localhost> | 2006-06-26 00:04:22 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-06-26 00:04:22 +0000 |
commit | 651ababc7475a05d9719065763399da5b58bfb76 (patch) | |
tree | ae6e0c01e987f4c3b52e8ffdfb377b6671f25aae /src/cmd/vbackup | |
parent | a09e85757d8163ff759112a14f308e465b38b52a (diff) | |
download | plan9port-651ababc7475a05d9719065763399da5b58bfb76.tar.gz plan9port-651ababc7475a05d9719065763399da5b58bfb76.tar.bz2 plan9port-651ababc7475a05d9719065763399da5b58bfb76.zip |
bigger block size
Diffstat (limited to 'src/cmd/vbackup')
-rw-r--r-- | src/cmd/vbackup/vftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/vbackup/vftp.c b/src/cmd/vbackup/vftp.c index cfc1237f..c9dd4948 100644 --- 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"); |