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

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

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Thu, 11 Dec 2008 14:27:42 -0800

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

Received on 2008-12-11 23:28:07 CET

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