projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5eb7f2
)
Fix max_threads command line parameter propagation
author
Sarath Lakshman
<sarath@couchbase.com>
Sat, 11 Mar 2023 11:28:31 +0000
(16:58 +0530)
committer
Nikolaus Rath
<Nikolaus@rath.org>
Sat, 11 Mar 2023 17:06:21 +0000
(17:06 +0000)
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.
lib/helper.c
patch
|
blob
|
history
diff --git
a/lib/helper.c
b/lib/helper.c
index 35c6a98c069393fe565c5c1b1d879ae05a6eead7..14a0df3301b5af8bfc2733cdddae099ebcd17099 100644
(file)
--- 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)