diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2016-11-22 15:05:52 -0800 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2016-11-22 15:05:52 -0800 |
commit | 3296ad988ddb59eb7bbac21b9f67d60cf38ca6bf (patch) | |
tree | fa711d0994908dd481708094f933f8c6d3228bc5 /include | |
parent | 5e35dfb5a770aa74b557297f77347725499a1f5c (diff) |
Added support for FUSE_PARALLEL_DIROPS
Enabled by default since we haven't released libfuse 3.0 yet :-).
Fixes #112.
Diffstat (limited to 'include')
-rw-r--r-- | include/fuse_common.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/fuse_common.h b/include/fuse_common.h index 966a566..7bf8008 100644 --- a/include/fuse_common.h +++ b/include/fuse_common.h @@ -243,6 +243,16 @@ struct fuse_file_info { #define FUSE_CAP_NO_OPEN_SUPPORT (1 << 17) /** + * Indicates support for parallel directory operations. If this flag + * is unset, the FUSE kernel module will ensure that lookup() and + * readdir() requests are never issued concurrently for the same + * directory. + * + * This feature is enabled by default when supported by the kernel. + */ +#define FUSE_CAP_PARALLEL_DIROPS (1 << 18) + +/** * Ioctl flags * * FUSE_IOCTL_COMPAT: 32bit compat ioctl on 64bit machine |