logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

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.

Samba 4.22.3-Ubuntu-4.22.3+dfs                     07/21/2025                                 VFS_AIO_PTHREAD(8)

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:aioopen=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 aiomaxthreads 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/icevfsobjects=aio_pthreadaio_pthread:aioopen=yes

Name

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

Options

       aio_pthread:aio open = BOOL
           Try async opens for creating new files.

           The default is 'no'.

Synopsis


       vfs objects = aio_pthread

Version

       This man page is part of version 4.22.3-Ubuntu-4.22.3+dfsg-4ubuntu1 of the Samba suite.

See Also