From 0402c691a9d245e00bd2e4bd100a6d5e591d3433 Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Tue, 3 Sep 2013 18:13:27 -0700 Subject: fuse-bridge: enable --fopen-keep-cache based on FUSE_AUTO_INVAL_DATA. If kernel supports FUSE_AUTO_INVAL_DATA then it is safe(r) to turn on --fopen-keep-cache mode by default. Users report significant improvement in perf by enabling the mode. Change-Id: Icf9df4b7b43950d7e25302d9c2a1a7d14571a9a9 BUG: 990744 Signed-off-by: Anand Avati Reviewed-on: http://review.gluster.org/5770 Tested-by: Gluster Build System Reviewed-by: Brian Foster --- xlators/mount/fuse/src/fuse-bridge.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/mount/fuse/src/fuse-bridge.h') diff --git a/xlators/mount/fuse/src/fuse-bridge.h b/xlators/mount/fuse/src/fuse-bridge.h index 2626638dc4f..93319467ba3 100644 --- a/xlators/mount/fuse/src/fuse-bridge.h +++ b/xlators/mount/fuse/src/fuse-bridge.h @@ -101,7 +101,7 @@ struct fuse_private { gf_boolean_t acl; gf_boolean_t selinux; gf_boolean_t read_only; - gf_boolean_t fopen_keep_cache; + int32_t fopen_keep_cache; int32_t gid_cache_timeout; gf_boolean_t enable_ino32; fdtable_t *fdtable; -- cgit