diff options
Diffstat (limited to 'subversion/libsvn_fs_fs/caching.c')
-rw-r--r-- | subversion/libsvn_fs_fs/caching.c | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/subversion/libsvn_fs_fs/caching.c b/subversion/libsvn_fs_fs/caching.c index 4af48b8..42898cb 100644 --- a/subversion/libsvn_fs_fs/caching.c +++ b/subversion/libsvn_fs_fs/caching.c @@ -89,7 +89,7 @@ read_config(svn_memcache_t **memcache_p, fs_fs_data_t *ffd = fs->fsap_data; SVN_ERR(svn_cache__make_memcache_from_config(memcache_p, ffd->config, - fs->pool)); + fs->pool)); /* No cache namespace by default. I.e. all FS instances share the * cached data. If you specify different namespaces, the data will @@ -129,23 +129,9 @@ read_config(svn_memcache_t **memcache_p, SVN_FS_CONFIG_FSFS_CACHE_FULLTEXTS, TRUE); - /* don't cache revprops by default. - * Revprop caching significantly speeds up operations like - * svn ls -v. However, it requires synchronization that may - * not be available or efficient in the current server setup. - * - * If the caller chose option "2", enable revprop caching if - * the required API support is there to make it efficient. + /* For now, always disable revprop caching. */ - if (strcmp(svn_hash__get_cstring(fs->config, - SVN_FS_CONFIG_FSFS_CACHE_REVPROPS, - ""), "2")) - *cache_revprops - = svn_hash__get_bool(fs->config, - SVN_FS_CONFIG_FSFS_CACHE_REVPROPS, - FALSE); - else - *cache_revprops = svn_named_atomic__is_efficient(); + *cache_revprops = FALSE; return svn_config_get_bool(ffd->config, fail_stop, CONFIG_SECTION_CACHES, CONFIG_OPTION_FAIL_STOP, |