source: vendor/3.6.0/docs/manpages/vfs_commit.8

Last change on this file was 740, checked in by Silvan Scherrer, 13 years ago

Samba Server: update vendor to 3.6.0

File size: 2.8 KB
Line 
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: 08/08/2011
6.\" Manual: System Administration tools
7.\" Source: Samba 3.6
8.\" Language: English
9.\"
10.TH "VFS_COMMIT" "8" "08/08/2011" "Samba 3\&.6" "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"
22vfs_commit \- flush dirty data at specified intervals
23.SH "SYNOPSIS"
24.HP \w'\ 'u
25vfs objects = commit
26.SH "DESCRIPTION"
27.PP
28This VFS module is part of the
29\fBsamba\fR(7)
30suite\&.
31.PP
32The
33vfs_commit
34VFS module keeps track of the amount of data written to a file and synchronizes it to disk when a specified amount accumulates\&.
35.PP
36vfs_commit
37is 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
39This module is stackable\&.
40.SH "OPTIONS"
41.PP
42commit:dthresh = BYTES
43.RS 4
44Synchronize file data each time the specified number of bytes has been written\&.
45.sp
46The 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.\}
56K
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.\}
68M
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.\}
80G
81\- BYTES is a number of gigabytes
82.RE
83.sp
84.RE
85.RE
86.SH "EXAMPLES"
87.PP
88Synchronize the file data on the [precious] share after every 512 kilobytes (524288 bytes) of data is written:
89.sp
90.if n \{\
91.RS 4
92.\}
93.nf
94 \fI[precious]\fR
95 \m[blue]\fBpath = /data/precious\fR\m[]
96 \m[blue]\fBvfs objects = commit\fR\m[]
97 \m[blue]\fBcommit:dthresh = 512K\fR\m[]
98.fi
99.if n \{\
100.RE
101.\}
102.SH "CAVEATS"
103.PP
104On some systems, the data synchronization performed by
105commit
106may reduce performance\&.
107.SH "VERSION"
108.PP
109This man page is correct for version 3\&.0\&.25 of the Samba suite\&.
110.SH "AUTHOR"
111.PP
112The 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\&.
Note: See TracBrowser for help on using the repository browser.