From 2c736f516f28dfb5c58aff345c668a5ea6386295 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Wed, 10 Jan 2024 10:15:43 +0100 Subject: Don't set FUSE_CAP_PARALLEL_DIROPS by default Allowing parallel dir operations could result in a crash in a filesystem implementation that is not prepared for this. To be safe keep this flag off by default (this is not a regression, since there was no public release where this flag wasn't ignored). If the filesystem wants better performance, then it should set this flag explicitly. Fixes: c9905341ea34 ("Pass FUSE_PARALLEL_DIROPS to kernel (#861)") Signed-off-by: Miklos Szeredi --- include/fuse_common.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/fuse_common.h') diff --git a/include/fuse_common.h b/include/fuse_common.h index a804134..fedbaa9 100644 --- a/include/fuse_common.h +++ b/include/fuse_common.h @@ -336,8 +336,6 @@ struct fuse_loop_config_v1 { * 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) -- cgit v1.2.3