HAMMER Utility - Refactor the histogram code for mirror-stream.
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 11 Feb 2010 05:13:49 +0000 (21:13 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 11 Feb 2010 05:13:49 +0000 (21:13 -0800)
commit3d7b2393d640bac2f417ec648a537c9da7323b40
tree21f61c510ec972276eb95222a1e606c84a4455cd
parent54ee5a2699c25e7f614eca4e02f526b0f9173cc3
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.
sbin/hammer/cmd_mirror.c
sbin/hammer/hammer.8
sbin/hammer/hammer.c
sbin/hammer/hammer.h