source: trunk-3.0/docs/manpages/vfs_commit.8@ 102

Last change on this file since 102 was 44, checked in by Paul Smedley, 18 years ago

Update source to 3.0.25b

File size: 2.0 KB
Line 
1.\"Generated by db2man.xsl. Don't modify this, modify the source.
2.de Sh \" Subsection
3.br
4.if t .Sp
5.ne 5
6.PP
7\fB\\$1\fR
8.PP
9..
10.de Sp \" Vertical space (when we can't use .PP)
11.if t .sp .5v
12.if n .sp
13..
14.de Ip \" List item
15.br
16.ie \\n(.$>=3 .ne \\$3
17.el .ne 3
18.IP "\\$1" \\$2
19..
20.TH "VFS_COMMIT" 8 "" "" ""
21.SH "NAME"
22vfs_commit - flush dirty data at specified intervals
23.SH "SYNOPSIS"
24.HP 1
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 3n
44Synchronize file data each time the specified number of bytes has been written.
45.sp
46The following suffixes may be applied to BYTES:
47.RS 3n
48.TP 3n
49\(bu
50K
51- BYTES is a number of kilobytes
52.TP 3n
53\(bu
54M
55- BYTES is a number of megabytes
56.TP 3n
57\(bu
58G
59- BYTES is a number of gigabytes
60.RE
61.RE
62.SH "EXAMPLES"
63.PP
64Synchronize the file data on the [precious] share after every 512 kilobytes (524288 bytes) of data is written:
65
66.nf
67
68 \fI[precious]\fR
69 path = /data/precious
70 vfs objects = commit
71 commit:dthresh = 512K
72
73.fi
74.SH "CAVEATS"
75.PP
76On some systems, the data synchronization performed by
77commit
78may reduce performance.
79.SH "VERSION"
80.PP
81This man page is correct for version 3.0.25 of the Samba suite.
82.SH "AUTHOR"
83.PP
84The 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.
85
Note: See TracBrowser for help on using the repository browser.