summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2013-08-16 16:48:18 -0700
committerMichael Adam <obnox@samba.org>2013-08-21 17:28:56 +0200
commit659f5fecd69fb240c1a2ea385584c22d00476b59 (patch)
treeecce71576b45a7ddfd1630f10c489117fc599d12
parent252a6b6d8a27f4b8be61c6b091318ddb76776471 (diff)
downloadsamba-659f5fecd69fb240c1a2ea385584c22d00476b59.tar.gz
samba-659f5fecd69fb240c1a2ea385584c22d00476b59.tar.bz2
samba-659f5fecd69fb240c1a2ea385584c22d00476b59.zip
Fix the documentation for --send-buffersize for the new default value of zero for smbclient.
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
-rw-r--r--docs-xml/manpages/smbclient.1.xml14
1 files changed, 10 insertions, 4 deletions
diff --git a/docs-xml/manpages/smbclient.1.xml b/docs-xml/manpages/smbclient.1.xml
index ad465b88b9..2a8b5ea8d6 100644
--- a/docs-xml/manpages/smbclient.1.xml
+++ b/docs-xml/manpages/smbclient.1.xml
@@ -316,10 +316,16 @@
<varlistentry>
<term>-b|--send-buffer buffersize</term>
- <listitem><para>This option changes the transmit/send buffer
- size when getting or putting a file from/to the server. The default
- is 65520 bytes. Setting this value smaller (to 1200 bytes) has been
- observed to speed up file transfers to and from a Win9x server.
+ <listitem><para>
+ When sending or receiving files, smbclient uses an
+ internal buffer sized by the maximum number of allowed requests
+ to the connected server. This command allows this size to be set to any
+ range between 0 (which means use the default server controlled size) bytes
+ and 16776960 (0xFFFF00) bytes. Using the server controlled size is the
+ most efficient as smbclient will pipeline as many simultaneous reads or
+ writes needed to keep the server as busy as possible. Setting this to
+ any other size will slow down the transfer. This can also be set
+ using the <command>iosize</command> command inside smbclient.
</para></listitem>
</varlistentry>