source: branches/samba-3.2.x/docs/manpages/vfs_commit.8@ 229

Last change on this file since 229 was 229, checked in by Herwig Bauernfeind, 17 years ago

Update 3.2 branch to 3.2.7 docs

File size: 2.3 KB
Line 
1.\" Title: vfs_commit
2.\" Author:
3.\" Generator: DocBook XSL Stylesheets v1.73.1 <http://docbook.sf.net/>
4.\" Date: 12/19/2008
5.\" Manual: System Administration tools
6.\" Source: Samba 3.2
7.\"
8.TH "VFS_COMMIT" "8" "12/19/2008" "Samba 3\.2" "System Administration tools"
9.\" disable hyphenation
10.nh
11.\" disable justification (adjust text to left margin only)
12.ad l
13.SH "NAME"
14vfs_commit - flush dirty data at specified intervals
15.SH "SYNOPSIS"
16.HP 1
17vfs objects = commit
18.SH "DESCRIPTION"
19.PP
20This VFS module is part of the
21\fBsamba\fR(7)
22suite\.
23.PP
24The
25vfs_commit
26VFS module keeps track of the amount of data written to a file and synchronizes it to disk when a specified amount accumulates\.
27.PP
28vfs_commit
29is 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\.
30.PP
31This module is stackable\.
32.SH "OPTIONS"
33.PP
34commit:dthresh = BYTES
35.RS 4
36Synchronize file data each time the specified number of bytes has been written\.
37.sp
38The following suffixes may be applied to BYTES:
39.sp
40.RS 4
41.ie n \{\
42\h'-04'\(bu\h'+03'\c
43.\}
44.el \{\
45.sp -1
46.IP \(bu 2.3
47.\}
48K
49\- BYTES is a number of kilobytes
50.RE
51.sp
52.RS 4
53.ie n \{\
54\h'-04'\(bu\h'+03'\c
55.\}
56.el \{\
57.sp -1
58.IP \(bu 2.3
59.\}
60M
61\- BYTES is a number of megabytes
62.RE
63.sp
64.RS 4
65.ie n \{\
66\h'-04'\(bu\h'+03'\c
67.\}
68.el \{\
69.sp -1
70.IP \(bu 2.3
71.\}
72G
73\- BYTES is a number of gigabytes
74.sp
75.RE
76.RE
77.SH "EXAMPLES"
78.PP
79Synchronize the file data on the [precious] share after every 512 kilobytes (524288 bytes) of data is written:
80.sp
81.RS 4
82.nf
83 \fI[precious]\fR
84 \fIpath = /data/precious\fR
85 \fIvfs objects = commit\fR
86 \fIcommit:dthresh = 512K\fR
87.fi
88.RE
89.SH "CAVEATS"
90.PP
91On some systems, the data synchronization performed by
92commit
93may reduce performance\.
94.SH "VERSION"
95.PP
96This man page is correct for version 3\.0\.25 of the Samba suite\.
97.SH "AUTHOR"
98.PP
99The 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.