Author: stefan2
Date: Tue Apr 18 14:48:45 2017
New Revision: 1791793

URL: http://svn.apache.org/viewvc?rev=1791793&view=rev
Log:
Comment fixes. No functional change.

* subversion/libsvn_fs_fs/caching.c
  (read_config): Bring commentary in line with the code.
  (svn_fs_fs__initialize_caches): Fix typo in comment.

Found by: julianfoad

Modified:
    subversion/trunk/subversion/libsvn_fs_fs/caching.c

Modified: subversion/trunk/subversion/libsvn_fs_fs/caching.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/caching.c?rev=1791793&r1=1791792&r2=1791793&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/caching.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/caching.c Tue Apr 18 14:48:45 2017
@@ -96,11 +96,8 @@ read_config(const char **cache_namespace
                                                ""),
                          pool);
 
-  /* don't cache text deltas by default.
-   * Once we reconstructed the fulltexts from the deltas,
-   * these deltas are rarely re-used. Therefore, only tools
-   * like svnadmin will activate this to speed up operations
-   * dump and verify.
+  /* Cache text deltas by default.
+   * They tend to be smaller and have finer granularity than fulltexts.
    */
   *cache_txdeltas
     = svn_hash__get_bool(fs->config,
@@ -119,9 +116,9 @@ read_config(const char **cache_namespace
                          SVN_FS_CONFIG_FSFS_CACHE_FULLTEXTS,
                          TRUE);
 
-  /* by default, cache nodeprops: this will match pre-1.10
-   * behavior where node properties caching was controlled
-   * by SVN_FS_CONFIG_FSFS_CACHE_FULLTEXTS configuration option.
+  /* by default, cache nodeprops.
+   * Pre-1.10, this was controlled by the SVN_FS_CONFIG_FSFS_CACHE_FULLTEXTS
+   * configuration option which defaulted to TRUE.
    */
   *cache_nodeprops
     = svn_hash__get_bool(fs->config,
@@ -386,7 +383,7 @@ svn_fs_fs__initialize_caches(svn_fs_t *f
    *   (e.g. fulltexts etc.)
    * - Index data required to find any of the other data has high prio
    *   (e.g. noderevs, L2P and P2L index pages)
-   * - everthing else should use default prio
+   * - everything else should use default prio
    */
 
 #ifdef SVN_DEBUG_CACHE_DUMP_STATS


Reply via email to