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

Re: [PATCH] Add configuration to disable SVNDIFF1 data storage in FSFS

From: David Glasser <glasser_at_davidglasser.net>
Date: Thu, 11 Dec 2008 16:02:15 -0800

Either you only attached the log message, or tigris continues to be broken.

--dave

On Thu, Dec 11, 2008 at 2:27 PM, Hyrum K. Wright
<hyrum_wright_at_mail.utexas.edu> wrote:
> The subject and log message are pretty explanatory: this patch lets users turn
> off compression of deltas in an FSFS repository.
>
> See this mail thread for general discussion about configurable options:
> http://svn.haxx.se/dev/archive-2008-12/0338.shtml
>
> -Hyrum
>
> [[[
> Add an option to fsfs.conf which allows users to disable using SVNDIFF1 in their
> repositories. This increases the size of the repository to pre-1.4 levels, but
> also decreases the CPU used by the server to uncompress the diff.
>
> * subversion/libsvn_fs_fs/fs_fs.c
> (write_config): Add new configuration section and options.
> (svn_fs_fs__open, svn_fs_fs__create): Fetch the configuration option.
> (rep_write_get_baton): Don't use svndiff1 format if it's disabled.
>
> * subversion/libsvn_fs_fs/fs.h
> (CONFIG_SECTION_FS_TUNING, CONFIG_OPTION_FS_DISABLE_SVNDIFF1): New.
> (fs_fs_data_t): Add member to track diff1 disabled-ness.
> ]]]
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=983066
> The subject and log message are pretty explanatory: this patch lets users turn
> off compression of deltas in an FSFS repository.
>
> See this mail thread for general discussion about configurable options:
> http://svn.haxx.se/dev/archive-2008-12/0338.shtml
>
> -Hyrum
>
> [[[
> Add an option to fsfs.conf which allows users to disable using SVNDIFF1 in their
> repositories. This increases the size of the repository to pre-1.4 levels, but
> also decreases the CPU used by the server to uncompress the diff.
>
> * subversion/libsvn_fs_fs/fs_fs.c
> (write_config): Add new configuration section and options.
> (svn_fs_fs__open, svn_fs_fs__create): Fetch the configuration option.
> (rep_write_get_baton): Don't use svndiff1 format if it's disabled.
>
> * subversion/libsvn_fs_fs/fs.h
> (CONFIG_SECTION_FS_TUNING, CONFIG_OPTION_FS_DISABLE_SVNDIFF1): New.
> (fs_fs_data_t): Add member to track diff1 disabled-ness.
> ]]]
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=983066
>

-- 
glasser_at_davidglasser.net | langtonlabs.org | flickr.com/photos/glasser/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=983130
Received on 2008-12-12 11:45:37 CET

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.