source: vendor/current/docs/manpages/vfs_cacheprime.8

Last change on this file was 989, checked in by Silvan Scherrer, 9 years ago

Samba Server: update vendor to version 4.4.7

File size: 3.3 KB
Line 
1'\" t
2.\" Title: vfs_cacheprime
3.\" Author: [see the "AUTHOR" section]
4.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
5.\" Date: 10/25/2016
6.\" Manual: System Administration tools
7.\" Source: Samba 4.4
8.\" Language: English
9.\"
10.TH "VFS_CACHEPRIME" "8" "10/25/2016" "Samba 4\&.4" "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_cacheprime \- prime the kernel file data cache
32.SH "SYNOPSIS"
33.HP \w'\ 'u
34vfs objects = cacheprime
35.SH "DESCRIPTION"
36.PP
37This VFS module is part of the
38\fBsamba\fR(7)
39suite\&.
40.PP
41The
42vfs_cacheprime
43VFS module reads chunks of file data near the range requested by clients in order to make sure the data is present in the kernel file data cache at the time when it is actually requested by clients\&.
44.PP
45The size of the disk read operations performed by
46vfs_cacheprime
47is determined by the cacheprime:rsize option\&. All disk read operations are aligned on boundaries that are a multiple of this size\&. Each range of the file data is primed at most once during the time the client has the file open\&.
48.PP
49This module is stackable\&.
50.SH "OPTIONS"
51.PP
52cacheprime:rsize = BYTES
53.RS 4
54The number of bytes with which to prime the kernel data cache\&.
55.sp
56The following suffixes may be applied to BYTES:
57.sp
58.RS 4
59.ie n \{\
60\h'-04'\(bu\h'+03'\c
61.\}
62.el \{\
63.sp -1
64.IP \(bu 2.3
65.\}
66K
67\- BYTES is a number of kilobytes
68.RE
69.sp
70.RS 4
71.ie n \{\
72\h'-04'\(bu\h'+03'\c
73.\}
74.el \{\
75.sp -1
76.IP \(bu 2.3
77.\}
78M
79\- BYTES is a number of megabytes
80.RE
81.sp
82.RS 4
83.ie n \{\
84\h'-04'\(bu\h'+03'\c
85.\}
86.el \{\
87.sp -1
88.IP \(bu 2.3
89.\}
90G
91\- BYTES is a number of gigabytes
92.RE
93.sp
94.RE
95.RE
96.SH "EXAMPLES"
97.PP
98For a hypothetical disk array, it is necessary to ensure that all read operations are of size 1 megabyte (1048576 bytes), and aligned on 1 megabyte boundaries:
99.sp
100.if n \{\
101.RS 4
102.\}
103.nf
104 \fI[hypothetical]\fR
105 \m[blue]\fBvfs objects = cacheprime\fR\m[]
106 \m[blue]\fBcacheprime:rsize = 1M\fR\m[]
107.fi
108.if n \{\
109.RE
110.\}
111.SH "CAVEATS"
112.PP
113cacheprime
114is not a substitute for a general\-purpose readahead mechanism\&. It is intended for use only in very specific environments where disk operations must be aligned and sized to known values (as much as that is possible)\&.
115.SH "VERSION"
116.PP
117This man page is correct for version 3\&.0\&.25 of the Samba suite\&.
118.SH "AUTHOR"
119.PP
120The 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.