This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
[samba.git] / docs / docbook / smbdotconf / tuning / strictsync.xml
1 <samba:parameter name="strict sync"
2                  context="S"
3                  xmlns:samba="http://samba.org/common">
4 <listitem>
5     <para>Many Windows applications (including the Windows 98 explorer
6     shell) seem to confuse flushing buffer contents to disk with doing
7     a sync to disk. Under UNIX, a sync call forces the process to be
8     suspended until the kernel has ensured that all outstanding data in
9     kernel disk buffers has been safely stored onto stable storage.
10     This is very slow and should only be done rarely. Setting this
11     parameter to <constant>no</constant> (the default) means that
12     <citerefentry><refentrytitle>smbd</refentrytitle>
13     <manvolnum>8</manvolnum></citerefentry> ignores the Windows
14     applications requests for a sync call. There is only a possibility
15     of losing data if the operating system itself that Samba is running
16     on crashes, so there is little danger in this default setting. In
17     addition, this fixes many performance problems that people have
18     reported with the new Windows98 explorer shell file copies.</para>
19
20     <para>See also the <link linkend="SYNCALWAYS"><parameter moreinfo="none">sync 
21     always</parameter></link> parameter.</para>
22
23     <para>Default: <command moreinfo="none">strict sync = no</command></para>
24 </listitem>
25 </samba:parameter>