From 3296ad988ddb59eb7bbac21b9f67d60cf38ca6bf Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Tue, 22 Nov 2016 15:05:52 -0800 Subject: Added support for FUSE_PARALLEL_DIROPS Enabled by default since we haven't released libfuse 3.0 yet :-). Fixes #112. --- include/fuse_common.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include') 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 @@ -242,6 +242,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 * -- cgit v1.2.3