1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
3 <refentry id="vfs_syncops.8">
6 <refentrytitle>vfs_syncops</refentrytitle>
7 <manvolnum>8</manvolnum>
8 <refmiscinfo class="source">Samba</refmiscinfo>
9 <refmiscinfo class="manual">System Administration tools</refmiscinfo>
10 <refmiscinfo class="version">4.1</refmiscinfo>
15 <refname>vfs_syncops</refname>
16 <refpurpose>Ensure meta data operations are performed synchronously.</refpurpose>
21 <command>vfs objects = syncops</command>
26 <title>DESCRIPTION</title>
28 <para>This VFS module is part of the
29 <citerefentry><refentrytitle>samba</refentrytitle>
30 <manvolnum>7</manvolnum></citerefentry> suite.</para>
33 Some filesystems (even some journaled filesystems) require that a
34 fsync() be performed on many meta data operations to ensure that the
35 operation is guaranteed to remain in the filesystem after a power
36 failure. This is particularly important for some cluster filesystems
37 which are participating in a node failover system with clustered
38 Samba. On those filesystems the <command>vfs_syncops</command> VFS module
39 provides a way to perform those operations safely.
42 <para>This module is stackable.</para>
47 <title>CONFIGURATION</title>
50 Most of the performance loss with the <command>vfs_syncops</command>
51 VFS module is in fsync on close(). You can disable that with
52 <command>syncops:onclose = no</command> that can be set either globally
57 On certain filesystems that only require the last data written to be
58 fsync()'ed, you can disable the metadata synchronization of this module with
59 <command>syncops:onmeta = no</command>. This option can be set either
60 globally or per share.
64 The <command>vfs_syncops</command> VFS module can also be disabled
65 completely for a share with <command>syncops:disable = true</command>.
70 <title>EXAMPLES</title>
72 <para>Add syncops functionality for [share]:</para>
74 <smbconfsection name="[share]"/>
75 <smbconfoption name="path">/data/share</smbconfoption>
76 <smbconfoption name="vfs objects">syncops</smbconfoption>
77 <smbconfoption name="syncops:onclose">no</smbconfoption>
83 <title>VERSION</title>
85 <para>This man page is correct for version 4.1.0 of the Samba suite.
92 <para>The original Samba software and related utilities
93 were created by Andrew Tridgell. Samba is now developed
94 by the Samba Team as an Open Source project similar
95 to the way the Linux kernel is developed.</para>