git: HAMMER - Add live_dedup_cache_size sysctl

Ilya Dryomov dis at crater.dragonflybsd.org
Tue Jan 4 11:52:39 PST 2011


commit e2ef7a952eb731a891bead7cbf328dd8d44c4293
Author: Ilya Dryomov <idryomov at gmail.com>
Date:   Tue Jan 4 18:15:48 2011 +0200

    HAMMER - Add live_dedup_cache_size sysctl
    
    * There is now a hammer_live_dedup_cache_size variable which can be
      set via sysctl vfs.hammer.live_dedup_cache_size.  The default is 4096.
    
    * A better solution is to make it scale automatically according to
      nbufs or a number of vnodes.

Summary of changes:
 sys/vfs/hammer/hammer.h        |    1 +
 sys/vfs/hammer/hammer_dedup.c  |    2 +-
 sys/vfs/hammer/hammer_vfsops.c |    3 +++
 3 files changed, 5 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e2ef7a952eb731a891bead7cbf328dd8d44c4293


-- 
DragonFly BSD source repository





More information about the Commits mailing list