git: HAMMER Utility - Refactor the histogram code for mirror-str

看板DFBSD_commit作者時間16年前 (2010/02/11 13:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1BSvPP4t (DFBSD_commit)