| 1 |
<samba:parameter name="allocation roundup size" |
| 2 |
context="S" |
| 3 |
type="bytes" |
| 4 |
deprecated="1" |
| 5 |
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> |
| 6 |
<description> |
| 7 |
<para>This parameter allows an administrator to tune the |
| 8 |
allocation size reported to Windows clients. This is only |
| 9 |
useful for old SMB1 clients because modern SMB dialects |
| 10 |
eliminated that bottleneck and have better performance by |
| 11 |
default. Using this parameter may cause |
| 12 |
difficulties for some applications, e.g. MS Visual Studio. |
| 13 |
If the MS Visual Studio compiler starts to crash with an |
| 14 |
internal error, set this parameter to zero for this share. |
| 15 |
Settings this parameter to a large value can also cause |
| 16 |
small files to allocate more space on the disk than |
| 17 |
needed. |
| 18 |
</para> |
| 19 |
<para>This parameter is deprecated and will be removed in |
| 20 |
one of the next Samba releases. |
| 21 |
</para> |
| 22 |
|
| 23 |
<para>The integer parameter specifies the roundup size in bytes.</para> |
| 24 |
</description> |
| 25 |
|
| 26 |
<value type="default">0</value> |
| 27 |
<value type="example">1048576<comment>(to set it to the former default of 1 MiB)</comment></value> |
| 28 |
</samba:parameter> |