git: HAMMER - Add live dedup sysctl and support

Ilya Dryomov dis at crater.dragonflybsd.org
Mon Jan 3 17:09:07 PST 2011


commit 507df98a152612f739140d9f1ac5b30cd022eea2
Author: Ilya Dryomov <idryomov at gmail.com>
Date:   Tue Jan 4 03:07:02 2011 +0200

    HAMMER - Add live dedup sysctl and support
    
    * Adds *experimental* live dedup (aka efficient cp) support
    
    * sysctl vfs.hammer.live_dedup
        0 - disabled (default)
        1 - enabled, populate dedup cache on reads
        2 - enabled, populate dedup cache on reads and writes

Summary of changes:
 sys/vfs/hammer/hammer.h          |   59 +++++++
 sys/vfs/hammer/hammer_blockmap.c |  175 +++++++++++++++++++-
 sys/vfs/hammer/hammer_dedup.c    |  339 ++++++++++++++++++++++++++++++++++++++
 sys/vfs/hammer/hammer_object.c   |   48 +++++-
 sys/vfs/hammer/hammer_vfsops.c   |   37 ++++
 sys/vfs/hammer/hammer_vnops.c    |   24 +++-
 6 files changed, 672 insertions(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/507df98a152612f739140d9f1ac5b30cd022eea2


-- 
DragonFly BSD source repository





More information about the Commits mailing list