diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2016-10-10 21:29:36 -0700 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2016-10-13 10:35:12 -0700 |
commit | 2bfa342cdadbcb3d4421dd752bbe1e63e0f6430f (patch) | |
tree | 50965d9492dd23f52a5274add9b322baa6d7a396 /include/fuse_lowlevel.h | |
parent | 17b23ac3a5149eeb4d38d4830d9c5c80059ffdc3 (diff) | |
download | libfuse-2bfa342cdadbcb3d4421dd752bbe1e63e0f6430f.tar.gz |
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_lowlevel.h')
-rw-r--r-- | include/fuse_lowlevel.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h index 0f8c030..0b7ee2b 100644 --- a/include/fuse_lowlevel.h +++ b/include/fuse_lowlevel.h @@ -1657,6 +1657,7 @@ struct fuse_cmdline_opts { char *mountpoint; int show_version; int show_help; + int clone_fd; }; /** @@ -1727,9 +1728,11 @@ int fuse_session_loop(struct fuse_session *se); * Enter a multi-threaded event loop * * @param se the session + * @param clone_fd whether to use separate device fds for each thread + * (may increase performance) * @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, int clone_fd); /** * Flag a session as terminated. |