DragonFly commits List (threaded) for 2011-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: hammer - Add memory use limit option for dedup runs
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]