git: DragonFly_RELEASE_2_8 HAMMER - Add hammer dedup filesystem

看板DFBSD_commit作者時間15年前 (2010/11/20 09:33), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1CvoLnBw (DFBSD_commit)