libfuse
|
#include <fuse_i.h>
Data Fields | |
int | clone_fd |
unsigned int | max_idle_threads |
int | max_idle_threads |
unsigned int | max_threads |
Configuration parameters passed to fuse_session_loop_mt() and fuse_loop_mt().
Internal API to avoid exposing the plain data structure and causing compat issues after adding or removing struct members.
Definition at line 126 of file fuse_common.h.
int fuse_loop_config::clone_fd |
whether to use separate device fds for each thread (may increase performance)
Definition at line 134 of file fuse_common.h.
unsigned int fuse_loop_config::max_idle_threads |
The maximum number of available worker threads before they start to get deleted when they become idle. If not specified, the default is 10.
Adjusting this has performance implications; a very small number of threads in the pool will cause a lot of thread creation and deletion overhead and performance may suffer. When set to 0, a new thread will be created to service every operation.
Definition at line 146 of file fuse_common.h.
int fuse_loop_config::max_idle_threads |
The maximum number of available worker threads before they start to get deleted when they become idle. If not specified, the default is 10.
Adjusting this has performance implications; a very small number of threads in the pool will cause a lot of thread creation and deletion overhead and performance may suffer. When set to 0, a new thread will be created to service every operation. The special value of -1 means that this parameter is disabled.
unsigned int fuse_loop_config::max_threads |