DragonFly BSD
DragonFly commits List (threaded) for 2010-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: HAMMER Utility - Refactor the histogram code for mirror-stream.


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 10 Feb 2010 21:19:14 -0800 (PST)

commit 3d7b2393d640bac2f417ec648a537c9da7323b40
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Feb 10 21:13:49 2010 -0800

    HAMMER Utility - Refactor the histogram code for mirror-stream.
    
    * Refactor the histogram code.  This code is responsible for breaking
      down a large initial mirroring stream into smaller chunks so the
      transaction id can be synced more often.  This way if the stream
      is interrupted it can be restarted at a more recent point instead
      of having to restart further back (or at the beginning).
    
    * Add -S splitsize (default 100MB) to specify the desired breakdown
      for the histogram.

Summary of changes:
 sbin/hammer/cmd_mirror.c |  162 +++++++++++++++++++++++++++++++---------------
 sbin/hammer/hammer.8     |   74 ++++++++++++++-------
 sbin/hammer/hammer.c     |   28 +++++++-
 sbin/hammer/hammer.h     |    1 +
 4 files changed, 184 insertions(+), 81 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3d7b2393d640bac2f417ec648a537c9da7323b40


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]