You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Daniel Shahaf <d....@daniel.shahaf.name> on 2011/05/17 18:43:28 UTC

svn_cache_config_t

Per our discussion, could you please move the cache_fulltexts and
cache_txdeltas members of svn_cache_config_t into the FS config hash.
(The reason being keeping the svn_cache interface neutral of its use.)

P.S.  This is an API change so it has to be done before 1.7.0.

Thanks,

-- 

[[[
typedef struct svn_cache_config_t
{
  /** total cache size in bytes. Please note that this is only soft limit
     to the total application memory usage and will be exceeded due to
     temporary objects and other program state.
     May be 0, resulting in default caching code being used. */
  apr_uint64_t cache_size;

  /** maximum number of files kept open */
  apr_size_t file_handle_count;

  /** shall fulltexts be cached? */
  svn_boolean_t cache_fulltexts;

  /** shall text deltas be cached? */
  svn_boolean_t cache_txdeltas;

  /** is this application guaranteed to be single-threaded? */
  svn_boolean_t single_threaded;
} svn_cache_config_t;
]]]

Re: svn_cache_config_t

Posted by Stefan Fuhrmann <eq...@web.de>.
On 17.05.2011 18:43, Daniel Shahaf wrote:
> Per our discussion, could you please move the cache_fulltexts and
> cache_txdeltas members of svn_cache_config_t into the FS config hash.
> (The reason being keeping the svn_cache interface neutral of its use.)
>
> P.S.  This is an API change so it has to be done before 1.7.0.
>
This required much more plumbing than expected.
Implemented as of r1126111.

-- Stefan^2.