看板 DFBSD_commit 關於我們 聯絡資訊
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