summaryrefslogtreecommitdiff
path: root/docs/docbook/smbdotconf/tuning/syncalways.xml
blob: dca33eb8022e6e7ff27f0ce6fa55e5d0e3a056c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<samba:parameter name="sync always"
                 context="S"
                 xmlns:samba="http://samba.org/common">
<listitem>
    <para>This is a boolean parameter that controls 
    whether writes will always be written to stable storage before 
    the write call returns. If this is <constant>no</constant> then the server will be 
    guided by the client's request in each write call (clients can 
    set a bit indicating that a particular write should be synchronous). 
    If this is <constant>yes</constant> then every write will be followed by a <command moreinfo="none">fsync()
    </command> call to ensure the data is written to disk. Note that 
    the <parameter moreinfo="none">strict sync</parameter> parameter must be set to
    <constant>yes</constant> in order for this parameter to have 
    any affect.</para>
		
    <para>See also the <link linkend="STRICTSYNC"><parameter moreinfo="none">strict 
    sync</parameter></link> parameter.</para>

    <para>Default: <command moreinfo="none">sync always = no</command></para>
</listitem>
</samba:parameter>