[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r30199 - branches/in-memory-cache/subversion/libsvn_fs_fs

From: Arfrever Frehtes Taifersar Arahesis <arfrever.fta_at_gmail.com>
Date: Sat, 5 Apr 2008 00:57:52 +0200

2008-04-02 23:49:02 glasser_at_tigris.org napisaƂ(a):
> Author: glasser
> Date: Wed Apr 2 14:49:01 2008
> New Revision: 30199
>
> Log:
> On the in-memory-cache branch:
>
> Move cache code to its own file. Initialize caches *after*
> opening/creating/whatever the FS, so that we have access to UUID.
> Temporarily hardcode the rev root ID cache to use memcache.
>
> * subversion/libsvn_fs_fs/caching.c
> New (mostly moved from fs.c).
> (serialize_id, deserialize_id): New.
> (svn_fs_fs__initialize_caches): Extract from initialize_fs_struct.
> Use memcache for one cache.
>
> * subversion/libsvn_fs_fs/fs.c
> Move lots of stuff to caching.c.
> (fs_create, fs_open, fs_upgrade): Call svn_fs_fs__initialize_caches.
>
> * subversion/libsvn_fs_fs/fs_fs.h
> (svn_fs_fs__initialize_caches): New.
>
> Added:
> branches/in-memory-cache/subversion/libsvn_fs_fs/caching.c
> Modified:
> branches/in-memory-cache/subversion/libsvn_fs_fs/fs.c
> branches/in-memory-cache/subversion/libsvn_fs_fs/fs_fs.h
>
> Added: branches/in-memory-cache/subversion/libsvn_fs_fs/caching.c
> URL: http://svn.collab.net/viewvc/svn/branches/in-memory-cache/subversion/libsvn_fs_fs/caching.c?pathrev=30199
> ==============================================================================
> --- /dev/null 00:00:00 1970 (empty, because file is newly added)
> +++ branches/in-memory-cache/subversion/libsvn_fs_fs/caching.c Wed Apr 2 14:49:01 2008 (r30199)
> @@ -0,0 +1,147 @@
> +/* caching.c : in-memory caching
> + *
> + * ====================================================================
> + * Copyright (c) 2000-2004 CollabNet. All rights reserved.

Copyright years probably should be changed to "2008".

-- 
Arfrever Frehtes Taifersar Arahesis

Received on 2008-04-05 01:00:28 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.