1VFS_SYNCOPS(8) System Administration tools VFS_SYNCOPS(8)
2
3
4
6 vfs_syncops - Ensure meta data operations are performed synchronously.
7
9 vfs objects = syncops
10
12 This VFS module is part of the samba(7) suite.
13
14 Some filesystems (even some journaled filesystems) require that a
15 fsync() be performed on many meta data operations to ensure that the
16 operation is guaranteed to remain in the filesystem after a power
17 failure. This is particularly important for some cluster filesystems
18 which are participating in a node failover system with clustered Samba.
19 On those filesystems the vfs_syncops VFS module provides a way to
20 perform those operations safely.
21
22 This module is stackable.
23
25 Most of the performance loss with the vfs_syncops VFS module is in
26 fsync on close(). You can disable that with syncops:onclose = no that
27 can be set either globally or per share.
28
29 On certain filesystems that only require the last data written to be
30 fsync()'ed, you can disable the metadata synchronization of this module
31 with syncops:onmeta = no. This option can be set either globally or per
32 share.
33
34 The vfs_syncops VFS module can also be disabled completely for a share
35 with syncops:disable = true.
36
38 Add syncops functionality for [share]:
39
40 [share]
41 path = /data/share
42 vfs objects = syncops
43 syncops:onclose = no
44
46 This man page is part of version 4.18.9 of the Samba suite.
47
49 The original Samba software and related utilities were created by
50 Andrew Tridgell. Samba is now developed by the Samba Team as an Open
51 Source project similar to the way the Linux kernel is developed.
52
53
54
55Samba 4.18.9 11/30/2023 VFS_SYNCOPS(8)