From: Jeremy Allison Date: Fri, 16 Aug 2013 23:48:18 +0000 (-0700) Subject: Fix the documentation for --send-buffersize for the new default value of zero for... X-Git-Tag: talloc-2.1.0~121 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=659f5fecd69fb240c1a2ea385584c22d00476b59;p=thirdparty%2Fsamba.git Fix the documentation for --send-buffersize for the new default value of zero for smbclient. Signed-off-by: Jeremy Allison Reviewed-by: Michael Adam --- diff --git a/docs-xml/manpages/smbclient.1.xml b/docs-xml/manpages/smbclient.1.xml index ad465b88b97..2a8b5ea8d67 100644 --- a/docs-xml/manpages/smbclient.1.xml +++ b/docs-xml/manpages/smbclient.1.xml @@ -316,10 +316,16 @@ -b|--send-buffer buffersize - 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. + + 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 iosize command inside smbclient.