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


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

commit 3045a179dbffff4b12fdc36de9efc2c7fb275181
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/3045a179dbffff4b12fdc36de9efc2c7fb275181


-- 
DragonFly BSD source repository



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