diff options
author | Sarath Lakshman <sarath@couchbase.com> | 2023-03-11 16:58:31 +0530 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2023-03-11 17:06:21 +0000 |
commit | ab5ca07af03b7dbb33193666c13b938534bde0e4 (patch) | |
tree | d2abd42d0730043c5f39c69d9d65261b7348557d | |
parent | a5eb7f2a0117ab43119ef5724cf5f4f2f181804a (diff) | |
download | fuse-ab5ca07af03b7dbb33193666c13b938534bde0e4.tar.gz |
Fix max_threads command line parameter propagation
The fuse_main_real() method doesn't apply the max_threads parameter
parsed through the commandline arguments. This commit fixes the wiring
of max_threads argument.
-rw-r--r-- | lib/helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/helper.c b/lib/helper.c index 35c6a98..14a0df3 100644 --- a/lib/helper.c +++ b/lib/helper.c @@ -376,6 +376,7 @@ int fuse_main_real(int argc, char *argv[], const struct fuse_operations *op, fuse_loop_cfg_set_clone_fd(loop_config, opts.clone_fd); fuse_loop_cfg_set_idle_threads(loop_config, opts.max_idle_threads); + fuse_loop_cfg_set_max_threads(loop_config, opts.max_threads); res = fuse_loop_mt(fuse, loop_config); } if (res) |