summaryrefslogtreecommitdiff
path: root/docs-xml
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2019-06-19 13:04:55 +0200
committerBjoern Jacke <bjacke@samba.org>2019-07-07 21:32:25 +0000
commitd6b8cbc8f7078b1ee5574204f2cac18d20a206e6 (patch)
treeb0b3a58f87279c54ad76e7b34090cfb7272c2b86 /docs-xml
parent37b3c6375b43cdbb5d06d194a88835c5637d66a0 (diff)
downloadsamba-d6b8cbc8f7078b1ee5574204f2cac18d20a206e6.tar.gz
param: change default of "allocation roundup size" to 0
Signed-off-by: Bjoern Jacke <bjacke@samba.org> Reviewed-by: Christof Schmitt <cs@samba.org>
Diffstat (limited to 'docs-xml')
-rw-r--r--docs-xml/smbdotconf/tuning/allocationroundupsize.xml14
1 files changed, 9 insertions, 5 deletions
diff --git a/docs-xml/smbdotconf/tuning/allocationroundupsize.xml b/docs-xml/smbdotconf/tuning/allocationroundupsize.xml
index eaea467bc39..aabbba32655 100644
--- a/docs-xml/smbdotconf/tuning/allocationroundupsize.xml
+++ b/docs-xml/smbdotconf/tuning/allocationroundupsize.xml
@@ -4,17 +4,21 @@
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
<para>This parameter allows an administrator to tune the
- allocation size reported to Windows clients. The default
- size of 1Mb generally results in improved Windows client
- performance. However, rounding the allocation size may cause
+ allocation size reported to Windows clients. This is only
+ useful for old SMB1 clients because modern SMB dialects
+ eliminated that bottleneck and have better performance by
+ default. Using this parameter may cause
difficulties for some applications, e.g. MS Visual Studio.
If the MS Visual Studio compiler starts to crash with an
internal error, set this parameter to zero for this share.
+ Settings this parameter to a large value can also cause
+ small files to allocate more space on the disk than
+ needed.
</para>
<para>The integer parameter specifies the roundup size in bytes.</para>
</description>
-<value type="default">1048576</value>
-<value type="example">0<comment>(to disable roundups)</comment></value>
+<value type="default">0</value>
+<value type="example">1048576<comment>(to set it to the former default of 1 MiB)</comment></value>
</samba:parameter>