This patch combines all patches from the performance branch that
implement the membuffer cache configuration but without the UI change.
A process-global membuffer cache will now be used for full-texts
unless memcached has been enabled for the respective directory.
To minimize the number of future conflicts, the configuration structure
has been brought up to its final state even if some options (cached file
handle count, txdelta caching etc.) will have no effect right now.
Merged revisions from /branches/performance:
981684, 982043, 988319
Merged only partially (excluding all changes not related to the
membuffer cache):
987886
* subversion/include/private/svn_fs_private.h
(svn_fs__get_global_membuffer_cache):
declare new internal API function
* subversion/include/svn_fs.h
(svn_fs_cache_config_t): new cache config struct
(svn_fs_get_cache_config, svn_fs_set_cache_config): new public API
to get & modify the cache config; currently evaluated by FSFS only
* subversion/libsvn_fs_util/caching.c
(cache_settings): new global cache settings + their defaults
(svn_fs__get_global_membuffer_cache, svn_fs_get_cache_config,
svn_fs_set_cache_config): implement new public and internal API functions
* subversion/libsvn_fs_fs/caching.c
(svn_fs_fs__initialize_caches): use membuffer cache for full-texts
git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/integrate-cache-membuffer@998843 13f79535-47bb-0310-9956-ffa450edef68
4 files changed