git: hammer - Add memory use limit option for dedup runs

看板DFBSD_commit作者時間14年前 (2011/08/04 13:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit fbe1c6652892c718ed11437dd5806a560fc5e173 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Wed Aug 3 21:57:48 2011 -0700 hammer - Add memory use limit option for dedup runs * Add '-m memlimit' (default 1G) to limit memory use during a dedup run. If the limit is reached hammer will reduce the range of CRCs in the scan and will perform multiple passes as needed to dedup the entire filesystem. * VerboseOpt (-v) will be verbose about crc-range truncation and multiple passes. Summary of changes: sbin/hammer/cmd_dedup.c | 272 ++++++++++++++++++++++++++++++++++------------- sbin/hammer/hammer.8 | 22 ++++ sbin/hammer/hammer.c | 30 +++++- sbin/hammer/hammer.h | 1 + 4 files changed, 252 insertions(+), 73 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fbe1c6652892c718ed11437dd5806a560fc5e173 -- DragonFly BSD source repository
文章代碼(AID): #1EEYxMF1 (DFBSD_commit)