VFS_AIO_PTHREAD

Section: System Administration tools (8)
Updated: 04/07/2021
Page Index
 

NAME

vfs_aio_pthread - implement async open in Samba vfs using a pthread pool  

SYNOPSIS

vfs objects = aio_pthread
 

DESCRIPTION

This VFS module is part of the samba(7) suite.

The aio_pthread VFS module enables asynchronous opens (for new files) with m[blue]aio_pthread:aio open = yesm[] on platforms which have the pthreads API available, support the openat() syscall and support per thread credentials (modern Linux kernels).

The module makes use of the global thread pool which uses the m[blue]aio max threadsm[] option.

This module MUST be listed last in any module stack as the Samba VFS open interface is not thread-safe. This module makes direct openat() system calls and does NOT call the Samba VFS open interfaces.  

EXAMPLES

Straight forward use:

        [cooldata]
        m[blue]path = /data/icem[]
        m[blue]vfs objects = aio_pthreadm[]
        m[blue]aio_pthread:aio open = yesm[]
 

OPTIONS

aio_pthread:aio open = BOOL

Try async opens for creating new files.

The default is 'no'.

 

VERSION

This man page is part of version 4.14.2 of the Samba suite.  

AUTHOR

The 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.


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
OPTIONS
VERSION
AUTHOR