/[Apache-SVN]
ViewVC logotype

Revision 1346122


Jump to revision: Previous Next
Author: stefan2
Date: Mon Jun 4 19:56:58 2012 UTC (11 years, 10 months ago)
Changed paths: 1
Log Message:
Improve membuffer cache scalability by replacing the per-segment
mutexes with WORM locks.  That allows concurrent reads to the
same cache segment and reads can therefore be allowed to take
much longer (large directories etc.).

* subversion/libsvn_subr/cache-membuffer.c
  (svn_membuffer_t): replace the lock type
  (read_lock_cache, write_lock_cache, unlock_cache,
   WITH_READ_LOCK, WITH_WRITE_LOCK): new locking utilities
  (svn_cache__membuffer_cache_create): adapt lock init code
  (membuffer_cache_set, membuffer_cache_get,
   membuffer_cache_get_partial, membuffer_cache_set_partial, 
   svn_membuffer_cache_get_info): replace lock macros


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_subr/cache-membuffer.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26