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

Last change on this file was 860, checked in by Silvan Scherrer, 11 years ago

Samba 3.6: updated vendor to latest version

File size: 3.1 KB
Line 
1'\" t
2.\" Title: vfs_commit
3.\" Author: [see the "AUTHOR" section]
4.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
5.\" Date: 09/18/2013
6.\" Manual: System Administration tools
7.\" Source: Samba 3.6
8.\" Language: English
9.\"
10.TH "VFS_COMMIT" "8" "09/18/2013" "Samba 3\&.6" "System Administration tools"
11.\" -----------------------------------------------------------------
12.\" * Define some portability stuff
13.\" -----------------------------------------------------------------
14.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15.\" http://bugs.debian.org/507673
16.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18.ie \n(.g .ds Aq \(aq
19.el .ds Aq '
20.\" -----------------------------------------------------------------
21.\" * set default formatting
22.\" -----------------------------------------------------------------
23.\" disable hyphenation
24.nh
25.\" disable justification (adjust text to left margin only)
26.ad l
27.\" -----------------------------------------------------------------
28.\" * MAIN CONTENT STARTS HERE *
29.\" -----------------------------------------------------------------
30.SH "NAME"
31vfs_commit \- flush dirty data at specified intervals
32.SH "SYNOPSIS"
33.HP \w'\ 'u
34vfs objects = commit
35.SH "DESCRIPTION"
36.PP
37This VFS module is part of the
38\fBsamba\fR(7)
39suite\&.
40.PP
41The
42vfs_commit
43VFS module keeps track of the amount of data written to a file and synchronizes it to disk when a specified amount accumulates\&.
44.PP
45vfs_commit
46is 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\&.
47.PP
48This module is stackable\&.
49.SH "OPTIONS"
50.PP
51commit:dthresh = BYTES
52.RS 4
53Synchronize file data each time the specified number of bytes has been written\&.
54.sp
55The following suffixes may be applied to BYTES:
56.sp
57.RS 4
58.ie n \{\
59\h'-04'\(bu\h'+03'\c
60.\}
61.el \{\
62.sp -1
63.IP \(bu 2.3
64.\}
65K
66\- BYTES is a number of kilobytes
67.RE
68.sp
69.RS 4
70.ie n \{\
71\h'-04'\(bu\h'+03'\c
72.\}
73.el \{\
74.sp -1
75.IP \(bu 2.3
76.\}
77M
78\- BYTES is a number of megabytes
79.RE
80.sp
81.RS 4
82.ie n \{\
83\h'-04'\(bu\h'+03'\c
84.\}
85.el \{\
86.sp -1
87.IP \(bu 2.3
88.\}
89G
90\- BYTES is a number of gigabytes
91.RE
92.sp
93.RE
94.RE
95.SH "EXAMPLES"
96.PP
97Synchronize the file data on the [precious] share after every 512 kilobytes (524288 bytes) of data is written:
98.sp
99.if n \{\
100.RS 4
101.\}
102.nf
103 \fI[precious]\fR
104 \m[blue]\fBpath = /data/precious\fR\m[]
105 \m[blue]\fBvfs objects = commit\fR\m[]
106 \m[blue]\fBcommit:dthresh = 512K\fR\m[]
107.fi
108.if n \{\
109.RE
110.\}
111.SH "CAVEATS"
112.PP
113On some systems, the data synchronization performed by
114commit
115may reduce performance\&.
116.SH "VERSION"
117.PP
118This man page is correct for version 3\&.0\&.25 of the Samba suite\&.
119.SH "AUTHOR"
120.PP
121The 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.