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

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Feb 10 21:20:03 PST 2010


commit 3d7b2393d640bac2f417ec648a537c9da7323b40
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list