summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-04 06:22:08 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-04 06:22:08 +0000
commit5ade894f32377ffaed3fc085810892509a6e8c66 (patch)
tree95f667069884aea60a0abcb97aab5c336683e9c9 /source3/include
parentd71c04f927cbcbaae0708c1533748caac20ee5af (diff)
downloadsamba-5ade894f32377ffaed3fc085810892509a6e8c66.tar.gz
samba-5ade894f32377ffaed3fc085810892509a6e8c66.tar.bz2
samba-5ade894f32377ffaed3fc085810892509a6e8c66.zip
modified cli_read() and cli_write() to issue multiple outstanding
read/write requests for large reads. up to max_mux requests may be outstanding. This gives _much_ better throughput and should allow smbsh to saturate just about any network. this is an implementation of the "fast SMB" method I described on the CIFS list a couple of months back. (This used to be commit c728d1c5d6e4626d2f8e318eab4df32acc8cb505)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/client.h b/source3/include/client.h
index 628834925b..c312d29bf7 100644
--- a/source3/include/client.h
+++ b/source3/include/client.h
@@ -88,6 +88,7 @@ struct cli_state {
int writebraw_supported;
int timeout;
int max_xmit;
+ int max_mux;
char *outbuf;
char *inbuf;
int bufsize;