vfs_aio_pthread - Man Page

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 aio_pthread:aio open = yes 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 aio max threads 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]
	path = /data/ice
	vfs objects = aio_pthread
	aio_pthread:aio open = yes

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

Info

11/25/2024 Samba 4.21.2 System Administration tools