nfs4_acls: Use switch/case for checking idmap type
[Samba.git] / docs-xml / manpages / vfs_aio_pthread.8.xml
blobc6f291b980e21e5df4f00f7ce1b316d9446b78c7
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
3 <refentry id="vfs_aio_pthread.8">
5 <refmeta>
6         <refentrytitle>vfs_aio_pthread</refentrytitle>
7         <manvolnum>8</manvolnum>
8         <refmiscinfo class="source">Samba</refmiscinfo>
9         <refmiscinfo class="manual">System Administration tools</refmiscinfo>
10         <refmiscinfo class="version">&doc.version;</refmiscinfo>
11 </refmeta>
14 <refnamediv>
15         <refname>vfs_aio_pthread</refname>
16         <refpurpose>implement async open in Samba vfs using a pthread pool</refpurpose>
17 </refnamediv>
19 <refsynopsisdiv>
20         <cmdsynopsis>
21                 <command>vfs objects = aio_pthread</command>
22         </cmdsynopsis>
23 </refsynopsisdiv>
25 <refsect1>
26         <title>DESCRIPTION</title>
28         <para>This VFS module is part of the
29         <citerefentry><refentrytitle>samba</refentrytitle>
30         <manvolnum>7</manvolnum></citerefentry> suite.</para>
32         <para>The <command>aio_pthread</command> VFS module enables asynchronous
33         opens (for new files) with <smbconfoption name="aio_pthread:aio open">yes</smbconfoption>
34         on platforms which have the pthreads API available,
35         support the openat() syscall and support per thread credentials (modern Linux kernels).
36         </para>
38         <para>The module makes use of the global thread pool which uses the
39         <smbconfoption name="aio max threads"/> option.</para>
41         <para>This module MUST be listed last in any module stack as
42         the Samba VFS open interface is not thread-safe. This
43         module makes direct openat() system calls and does
44         NOT call the Samba VFS open interfaces.</para>
46 </refsect1>
49 <refsect1>
50         <title>EXAMPLES</title>
52         <para>Straight forward use:</para>
54 <programlisting>
55         <smbconfsection name="[cooldata]"/>
56         <smbconfoption name="path">/data/ice</smbconfoption>
57         <smbconfoption name="vfs objects">aio_pthread</smbconfoption>
58         <smbconfoption name="aio_pthread:aio open">yes</smbconfoption>
59 </programlisting>
61 </refsect1>
63 <refsect1>
64         <title>OPTIONS</title>
66         <variablelist>
68                 <varlistentry>
69                 <term>aio_pthread:aio open = BOOL</term>
70                 <listitem>
71                 <para>Try async opens for creating new files.
72                 </para>
73                 <para>The default is 'no'.</para>
74                 </listitem>
75                 </varlistentry>
77         </variablelist>
78 </refsect1>
80 <refsect1>
81         <title>VERSION</title>
83         <para>This man page is part of version &doc.version; of the Samba suite.
84         </para>
85 </refsect1>
87 <refsect1>
88         <title>AUTHOR</title>
90         <para>The original Samba software and related utilities
91         were created by Andrew Tridgell. Samba is now developed
92         by the Samba Team as an Open Source project similar
93         to the way the Linux kernel is developed.</para>
95 </refsect1>
97 </refentry>