mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-04 05:40:13 -05:00
add setting of thread pool size
This commit is contained in:
parent
8043829815
commit
75ed37a11a
9 changed files with 54 additions and 8 deletions
|
|
@ -115,7 +115,7 @@ struct fuse_operations {
|
|||
*/
|
||||
int (*mknod) (const char *, mode_t, dev_t);
|
||||
|
||||
/** Create a directory
|
||||
/** Create a directory
|
||||
*
|
||||
* Note that the mode argument may not have the type specification
|
||||
* bits set, i.e. S_ISDIR(mode) can be false. To obtain the
|
||||
|
|
@ -696,6 +696,8 @@ int fuse_loop(struct fuse *f);
|
|||
*/
|
||||
void fuse_exit(struct fuse *f);
|
||||
|
||||
int fuse_config_num_threads(const struct fuse *f);
|
||||
|
||||
/**
|
||||
* FUSE event loop with multiple threads
|
||||
*
|
||||
|
|
|
|||
|
|
@ -1700,7 +1700,7 @@ int fuse_session_loop(struct fuse_session *se);
|
|||
* @param se the session
|
||||
* @return 0 on success, -1 on error
|
||||
*/
|
||||
int fuse_session_loop_mt(struct fuse_session *se);
|
||||
int fuse_session_loop_mt(struct fuse_session *se, const int threads);
|
||||
|
||||
/* ----------------------------------------------------------- *
|
||||
* Channel interface *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue