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">
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>
15 <refname>vfs_aio_pthread</refname>
16 <refpurpose>implement async open in Samba vfs using a pthread pool</refpurpose>
21 <command>vfs objects = aio_pthread</command>
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).
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>
50 <title>EXAMPLES</title>
52 <para>Straight forward use:</para>
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>
64 <title>OPTIONS</title>
69 <term>aio_pthread:aio open = BOOL</term>
71 <para>Try async opens for creating new files.
73 <para>The default is 'no'.</para>
81 <title>VERSION</title>
83 <para>This man page is part of version &doc.version; of the Samba suite.
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>