1VFS_COMMIT(8)                                                    VFS_COMMIT(8)
2
3
4

NAME

6       vfs_commit - flush dirty data at specified intervals
7

SYNOPSIS

9       vfs objects = commit
10

DESCRIPTION

12       This VFS module is part of the samba(7) suite.
13
14       The  vfs_commit VFS module keeps track of the amount of data written to
15       a file and synchronizes it to disk when a specified amount accumulates.
16
17       vfs_commit is useful in two circumstances. First, if you have very pre‐
18       cious  data,  the impact of unexpected power loss can be minimized by a
19       small commit:dthresh value. Secondly, write performance can be improved
20       on some systems by flushing file data early and at regular intervals.
21
22       This module is stackable.
23

OPTIONS

25       commit:dthresh = BYTES
26          Synchronize  file  data  each time the specified number of bytes has
27          been written.
28
29          The following suffixes may be applied to BYTES:
30
31             ·  K - BYTES is a number of kilobytes
32
33             ·  M - BYTES is a number of megabytes
34
35             ·  G - BYTES is a number of gigabytes
36

EXAMPLES

38       Synchronize the file data on the [precious] share after every 512 kilo‐
39       bytes (524288 bytes) of data is written:
40
41
42               [precious]
43            path = /data/precious
44            vfs objects = commit
45            commit:dthresh = 512K
46
47

CAVEATS

49       On  some  systems,  the  data  synchronization  performed by commit may
50       reduce performance.
51

VERSION

53       This man page is correct for version 3.0.25 of the Samba suite.
54

AUTHOR

56       The original Samba software  and  related  utilities  were  created  by
57       Andrew  Tridgell.  Samba  is now developed by the Samba Team as an Open
58       Source project similar to the way the Linux kernel is developed.
59
60
61
62
63                                                                 VFS_COMMIT(8)
Impressum