]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-fuse: invalidate cache by default
authorSage Weil <sage@inktank.com>
Fri, 15 Mar 2013 20:35:13 +0000 (13:35 -0700)
committerSage Weil <sage@inktank.com>
Fri, 15 Mar 2013 20:35:37 +0000 (13:35 -0700)
Closes: #2215
Signed-off-by: Sage Weil <sage@inktank.com>
src/common/config_opts.h

index 34fd9a6d43afdb12450ca528f70c5eac0d4f85d0..39f059570e05a75df3819bdeff59dfceb14e890c 100644 (file)
@@ -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)