vfs_syncops — Ensure meta data operations are performed synchronously.
vfs objects = syncops
This VFS module is part of the samba(7) suite.
Some filesystems (even some journaled filesystems) require that a
fsync() be performed on many meta data operations to ensure that the
operation is guaranteed to remain in the filesystem after a power
failure. This is particularly important for some cluster filesystems
which are participating in a node failover system with clustered
Samba. On those filesystems the
vfs_syncops VFS module
provides a way to perform those operations safely.
This module is stackable.
Most of the performance loss with the
VFS module is in fsync on close(). You can disable that with
syncops:onclose = no that can be set either globally
or per share.
On certain filesystems that only require the last data written to be
fsync()'ed, you can disable the metadata synchronization of this module with
syncops:onmeta = no. This option can be set either
globally or per share.
vfs_syncops VFS module can also be disabled
completely for a share with
syncops:disable = true.
Add syncops functionality for [share]: