1 | '\" t
|
---|
2 | .\" Title: vfs_commit
|
---|
3 | .\" Author: [see the "AUTHOR" section]
|
---|
4 | .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
---|
5 | .\" Date: 02/19/2010
|
---|
6 | .\" Manual: System Administration tools
|
---|
7 | .\" Source: Samba 3.5
|
---|
8 | .\" Language: English
|
---|
9 | .\"
|
---|
10 | .TH "VFS_COMMIT" "8" "02/19/2010" "Samba 3\&.5" "System Administration tools"
|
---|
11 | .\" -----------------------------------------------------------------
|
---|
12 | .\" * set default formatting
|
---|
13 | .\" -----------------------------------------------------------------
|
---|
14 | .\" disable hyphenation
|
---|
15 | .nh
|
---|
16 | .\" disable justification (adjust text to left margin only)
|
---|
17 | .ad l
|
---|
18 | .\" -----------------------------------------------------------------
|
---|
19 | .\" * MAIN CONTENT STARTS HERE *
|
---|
20 | .\" -----------------------------------------------------------------
|
---|
21 | .SH "NAME"
|
---|
22 | vfs_commit \- flush dirty data at specified intervals
|
---|
23 | .SH "SYNOPSIS"
|
---|
24 | .HP \w'\ 'u
|
---|
25 | vfs objects = commit
|
---|
26 | .SH "DESCRIPTION"
|
---|
27 | .PP
|
---|
28 | This VFS module is part of the
|
---|
29 | \fBsamba\fR(7)
|
---|
30 | suite\&.
|
---|
31 | .PP
|
---|
32 | The
|
---|
33 | vfs_commit
|
---|
34 | VFS module keeps track of the amount of data written to a file and synchronizes it to disk when a specified amount accumulates\&.
|
---|
35 | .PP
|
---|
36 | vfs_commit
|
---|
37 | is useful in two circumstances\&. First, if you have very precious data, the impact of unexpected power loss can be minimized by a small commit:dthresh value\&. Secondly, write performance can be improved on some systems by flushing file data early and at regular intervals\&.
|
---|
38 | .PP
|
---|
39 | This module is stackable\&.
|
---|
40 | .SH "OPTIONS"
|
---|
41 | .PP
|
---|
42 | commit:dthresh = BYTES
|
---|
43 | .RS 4
|
---|
44 | Synchronize file data each time the specified number of bytes has been written\&.
|
---|
45 | .sp
|
---|
46 | The following suffixes may be applied to BYTES:
|
---|
47 | .sp
|
---|
48 | .RS 4
|
---|
49 | .ie n \{\
|
---|
50 | \h'-04'\(bu\h'+03'\c
|
---|
51 | .\}
|
---|
52 | .el \{\
|
---|
53 | .sp -1
|
---|
54 | .IP \(bu 2.3
|
---|
55 | .\}
|
---|
56 | K
|
---|
57 | \- BYTES is a number of kilobytes
|
---|
58 | .RE
|
---|
59 | .sp
|
---|
60 | .RS 4
|
---|
61 | .ie n \{\
|
---|
62 | \h'-04'\(bu\h'+03'\c
|
---|
63 | .\}
|
---|
64 | .el \{\
|
---|
65 | .sp -1
|
---|
66 | .IP \(bu 2.3
|
---|
67 | .\}
|
---|
68 | M
|
---|
69 | \- BYTES is a number of megabytes
|
---|
70 | .RE
|
---|
71 | .sp
|
---|
72 | .RS 4
|
---|
73 | .ie n \{\
|
---|
74 | \h'-04'\(bu\h'+03'\c
|
---|
75 | .\}
|
---|
76 | .el \{\
|
---|
77 | .sp -1
|
---|
78 | .IP \(bu 2.3
|
---|
79 | .\}
|
---|
80 | G
|
---|
81 | \- BYTES is a number of gigabytes
|
---|
82 | .sp
|
---|
83 | .RE
|
---|
84 | .RE
|
---|
85 | .SH "EXAMPLES"
|
---|
86 | .PP
|
---|
87 | Synchronize the file data on the [precious] share after every 512 kilobytes (524288 bytes) of data is written:
|
---|
88 | .sp
|
---|
89 | .if n \{\
|
---|
90 | .RS 4
|
---|
91 | .\}
|
---|
92 | .nf
|
---|
93 | \fI[precious]\fR
|
---|
94 | \m[blue]\fBpath = /data/precious\fR\m[]
|
---|
95 | \m[blue]\fBvfs objects = commit\fR\m[]
|
---|
96 | \m[blue]\fBcommit:dthresh = 512K\fR\m[]
|
---|
97 | .fi
|
---|
98 | .if n \{\
|
---|
99 | .RE
|
---|
100 | .\}
|
---|
101 | .SH "CAVEATS"
|
---|
102 | .PP
|
---|
103 | On some systems, the data synchronization performed by
|
---|
104 | commit
|
---|
105 | may reduce performance\&.
|
---|
106 | .SH "VERSION"
|
---|
107 | .PP
|
---|
108 | This man page is correct for version 3\&.0\&.25 of the Samba suite\&.
|
---|
109 | .SH "AUTHOR"
|
---|
110 | .PP
|
---|
111 | The original Samba software and related utilities were created by Andrew Tridgell\&. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\&.
|
---|