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 filesystem version dump


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

commit 7ec73899aee571465ee79b6e5abc80e82d2bbed7
Author: Matthew Dillon <dillon@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



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