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

Last change on this file was 414, checked in by Herwig Bauernfeind, 15 years ago

Samba 3.5.0: Initial import

File size: 2.7 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: 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"
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.sp
83.RE
84.RE
85.SH "EXAMPLES"
86.PP
87Synchronize 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
103On some systems, the data synchronization performed by
104commit
105may reduce performance\&.
106.SH "VERSION"
107.PP
108This man page is correct for version 3\&.0\&.25 of the Samba suite\&.
109.SH "AUTHOR"
110.PP
111The 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.