| 1 | .\" Title: vfs_commit
|
|---|
| 2 | .\" Author:
|
|---|
| 3 | .\" Generator: DocBook XSL Stylesheets v1.73.1 <http://docbook.sf.net/>
|
|---|
| 4 | .\" Date: 08/27/2008
|
|---|
| 5 | .\" Manual: System Administration tools
|
|---|
| 6 | .\" Source: Samba 3.2
|
|---|
| 7 | .\"
|
|---|
| 8 | .TH "VFS_COMMIT" "8" "08/27/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"
|
|---|
| 14 | vfs_commit - flush dirty data at specified intervals
|
|---|
| 15 | .SH "SYNOPSIS"
|
|---|
| 16 | .HP 1
|
|---|
| 17 | vfs objects = commit
|
|---|
| 18 | .SH "DESCRIPTION"
|
|---|
| 19 | .PP
|
|---|
| 20 | This VFS module is part of the
|
|---|
| 21 | \fBsamba\fR(7)
|
|---|
| 22 | suite\.
|
|---|
| 23 | .PP
|
|---|
| 24 | The
|
|---|
| 25 | vfs_commit
|
|---|
| 26 | VFS module keeps track of the amount of data written to a file and synchronizes it to disk when a specified amount accumulates\.
|
|---|
| 27 | .PP
|
|---|
| 28 | vfs_commit
|
|---|
| 29 | is 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
|
|---|
| 31 | This module is stackable\.
|
|---|
| 32 | .SH "OPTIONS"
|
|---|
| 33 | .PP
|
|---|
| 34 | commit:dthresh = BYTES
|
|---|
| 35 | .RS 4
|
|---|
| 36 | Synchronize file data each time the specified number of bytes has been written\.
|
|---|
| 37 | .sp
|
|---|
| 38 | The 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 | .\}
|
|---|
| 48 | K
|
|---|
| 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 | .\}
|
|---|
| 60 | M
|
|---|
| 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 | .\}
|
|---|
| 72 | G
|
|---|
| 73 | \- BYTES is a number of gigabytes
|
|---|
| 74 | .sp
|
|---|
| 75 | .RE
|
|---|
| 76 | .RE
|
|---|
| 77 | .SH "EXAMPLES"
|
|---|
| 78 | .PP
|
|---|
| 79 | Synchronize 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
|
|---|
| 91 | On some systems, the data synchronization performed by
|
|---|
|
|---|