git: HAMMER - Add hammer dedup filesystem version dump
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun Nov 7 10:04:54 PST 2010
commit 3045a179dbffff4b12fdc36de9efc2c7fb275181
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/3045a179dbffff4b12fdc36de9efc2c7fb275181
--
DragonFly BSD source repository
More information about the Commits
mailing list