From: Sage Weil Date: Fri, 15 Mar 2013 20:35:13 +0000 (-0700) Subject: ceph-fuse: invalidate cache by default X-Git-Tag: v0.60~63 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=65c31e1b97c51aace2d88530cae1bb2ff40b15f0;p=ceph.git ceph-fuse: invalidate cache by default Closes: #2215 Signed-off-by: Sage Weil --- diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 34fd9a6d43a..39f059570e0 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -219,7 +219,7 @@ OPTION(client_oc_max_objects, OPT_INT, 1000) // max objects in cache OPTION(client_debug_force_sync_read, OPT_BOOL, false) // always read synchronously (go to osds) OPTION(client_debug_inject_tick_delay, OPT_INT, 0) // delay the client tick for a number of seconds // note: the max amount of "in flight" dirty data is roughly (max - target) -OPTION(fuse_use_invalidate_cb, OPT_BOOL, false) // use fuse 2.8+ invalidate callback to keep page cache consistent +OPTION(fuse_use_invalidate_cb, OPT_BOOL, true) // use fuse 2.8+ invalidate callback to keep page cache consistent OPTION(fuse_allow_other, OPT_BOOL, true) OPTION(fuse_default_permissions, OPT_BOOL, true) OPTION(fuse_big_writes, OPT_BOOL, true)