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

git: HAMMER - Add hammer dedup directive and support


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 7 Nov 2010 10:03:51 -0800 (PST)

commit bb29b5d82d5af72570d0ccbd03b8b8d3f21b4bd5
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/bb29b5d82d5af72570d0ccbd03b8b8d3f21b4bd5


-- 
DragonFly BSD source repository



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