git: HAMMER - Add hammer dedup directive and support

看板DFBSD_commit作者時間15年前 (2010/11/20 09:33), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/3 (看更多)
commit bb29b5d82d5af72570d0ccbd03b8b8d3f21b4bd5 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Sun Nov 7 09:29:39 2010 -0800 HAMMER - Add hammer dedup directive and support * Implements all the logic required to dedup a HAMMER filesystem. * There is one remaining issue and that is the reblocker's propensity to undo de-dup's hard work in certain cases. * Code bounty for hammer_dedup Submitted-by: Ilya Dryomov <idryomov@gmail.com> Summary of changes: sbin/hammer/Makefile | 4 +- sbin/hammer/cmd_cleanup.c | 34 ++ sbin/hammer/cmd_config.c | 1 + sbin/hammer/cmd_dedup.c | 755 ++++++++++++++++++++++++++++++++++++++ sbin/hammer/hammer.8 | 53 +++- sbin/hammer/hammer.c | 15 + sbin/hammer/hammer.h | 3 +- sys/conf/files | 1 + sys/vfs/hammer/Makefile | 3 +- sys/vfs/hammer/hammer.h | 10 +- sys/vfs/hammer/hammer_blockmap.c | 107 ++++++ sys/vfs/hammer/hammer_cursor.c | 85 ++++- sys/vfs/hammer/hammer_dedup.c | 182 +++++++++ sys/vfs/hammer/hammer_ioctl.c | 49 +++ sys/vfs/hammer/hammer_ioctl.h | 26 ++ sys/vfs/hammer/hammer_subs.c | 8 +- 16 files changed, 1313 insertions(+), 23 deletions(-) create mode 100644 sbin/hammer/cmd_dedup.c create mode 100644 sys/vfs/hammer/hammer_dedup.c http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bb29b5d82d5af72570d0ccbd03b8b8d3f21b4bd5 -- DragonFly BSD source repository
文章代碼(AID): #1CvoLIuX (DFBSD_commit)
文章代碼(AID): #1CvoLIuX (DFBSD_commit)