DragonFly BSD
DragonFly commits List (threaded) for 2010-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: DragonFly_RELEASE_2_8 HAMMER - Add hammer dedup directive and support


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 18 Nov 2010 09:46:41 -0800 (PST)

commit 7494cdaf29f7b680933d32d85f34ad9e3c55e1cf
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Sun Nov 7 09:29:39 2010 -0800

    HAMMER - Add hammer dedup directive and support
    
    * Implements all the logic required to dedup a HAMMER filesystem.
    
    * There is one remaining issue and that is the reblocker's propensity to
      undo de-dup's hard work in certain cases.
    
    * Code bounty for hammer_dedup
    
    Submitted-by: Ilya Dryomov <idryomov@gmail.com>

Summary of changes:
 sbin/hammer/Makefile             |    4 +-
 sbin/hammer/cmd_cleanup.c        |   34 ++
 sbin/hammer/cmd_config.c         |    1 +
 sbin/hammer/cmd_dedup.c          |  755 ++++++++++++++++++++++++++++++++++++++
 sbin/hammer/hammer.8             |   53 +++-
 sbin/hammer/hammer.c             |   15 +
 sbin/hammer/hammer.h             |    3 +-
 sys/conf/files                   |    1 +
 sys/vfs/hammer/Makefile          |    3 +-
 sys/vfs/hammer/hammer.h          |   10 +-
 sys/vfs/hammer/hammer_blockmap.c |  107 ++++++
 sys/vfs/hammer/hammer_cursor.c   |   85 ++++-
 sys/vfs/hammer/hammer_dedup.c    |  182 +++++++++
 sys/vfs/hammer/hammer_ioctl.c    |   49 +++
 sys/vfs/hammer/hammer_ioctl.h    |   26 ++
 sys/vfs/hammer/hammer_subs.c     |    8 +-
 16 files changed, 1313 insertions(+), 23 deletions(-)
 create mode 100644 sbin/hammer/cmd_dedup.c
 create mode 100644 sys/vfs/hammer/hammer_dedup.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7494cdaf29f7b680933d32d85f34ad9e3c55e1cf


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]