git: DragonFly_RELEASE_2_8 HAMMER - Add hammer dedup filesystem version dump

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Nov 18 09:47:21 PST 2010


commit 7ec73899aee571465ee79b6e5abc80e82d2bbed7
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Nov 7 09:43:08 2010 -0800

    HAMMER - Add hammer dedup filesystem version dump
    
    * Require a version 5 filesystem for dedup operation.  Upgrading can be done
      in-place.  All this does is make the layer2 bytes_free field a signed
      value instead of unsigned, allowing it to go negative.
    
      This allows dedup to use the field to account for multiple references to
      the same block of data, causing the field to (likely) go negative.

Summary of changes:
 sys/vfs/hammer/hammer_dedup.c |    9 +++++++++
 sys/vfs/hammer/hammer_disk.h  |   10 ++++++++--
 sys/vfs/hammer/hammer_ioctl.c |    4 ++++
 3 files changed, 21 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7ec73899aee571465ee79b6e5abc80e82d2bbed7


-- 
DragonFly BSD source repository





More information about the Commits mailing list