aboutsummaryrefslogtreecommitdiff
path: root/include/fuse.h
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2016-10-10 21:29:36 -0700
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2016-10-13 10:35:12 -0700
commit2bfa342cdadbcb3d4421dd752bbe1e63e0f6430f (patch)
tree50965d9492dd23f52a5274add9b322baa6d7a396 /include/fuse.h
parent17b23ac3a5149eeb4d38d4830d9c5c80059ffdc3 (diff)
Make -o clone_fd into a parameter of session_loop_mt().
This option really affects the behavior of the session loop, not the low-level interface. Therefore, it does not belong in the fuse_session object.
Diffstat (limited to 'include/fuse.h')
-rw-r--r--include/fuse.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/fuse.h b/include/fuse.h
index 8943835..5b9082b 100644
--- a/include/fuse.h
+++ b/include/fuse.h
@@ -748,11 +748,13 @@ void fuse_exit(struct fuse *f);
* in the callback function of fuse_operations is also thread-safe.
*
* @param f the FUSE handle
+ * @param clone_fd whether to use separate device fds for each thread
+ * (may increase performance)
* @return 0 if no error occurred, -1 otherwise
*
* See also: fuse_loop()
*/
-int fuse_loop_mt(struct fuse *f);
+int fuse_loop_mt(struct fuse *f, int clone_fd);
/**
* Get the current context