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:
3fe1b25
)
passthrough_hp: Use fuse_loop_cfg_set_max_threads()
author
Bernd Schubert
<bschubert@ddn.com>
Sat, 14 Sep 2024 18:56:36 +0000
(20:56 +0200)
committer
Bernd Schubert
<bernd.schubert@fastmail.fm>
Thu, 19 Sep 2024 14:59:13 +0000
(16:59 +0200)
fuse_loop_cfg_set_idle_threads() was by accident and
setting it might cause a performance issue.
example/passthrough_hp.cc
patch
|
blob
|
history
diff --git
a/example/passthrough_hp.cc
b/example/passthrough_hp.cc
index 26e3644b2a062c87e533cd2aeb04a8d1f50a549a..bfaada5c64c442a321f54fcfd49faf8eccd4bd29 100644
(file)
--- a/
example/passthrough_hp.cc
+++ b/
example/passthrough_hp.cc
@@
-1451,7
+1451,7
@@
int main(int argc, char *argv[]) {
loop_config = fuse_loop_cfg_create();
if (fs.num_threads != -1)
- fuse_loop_cfg_set_
idle
_threads(loop_config, fs.num_threads);
+ fuse_loop_cfg_set_
max
_threads(loop_config, fs.num_threads);
fuse_loop_cfg_set_clone_fd(loop_config, fs.clone_fd);