看板 DFBSD_commit 關於我們 聯絡資訊
commit df2ccbac56a7e11715c25f2c1617dafb6db040b1 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Sat Jun 20 14:49:12 2009 -0700 HAMMER VFS - Add hinting capability to block allocator, hint B-Tree * A hammer_off_t can now be supplied to the blockmap allocator as a hint. * Use the hinting mechanism to better-localize B-Tree node allocations and meta-data updates. Summary of changes: sys/vfs/hammer/hammer.h | 8 +++-- sys/vfs/hammer/hammer_blockmap.c | 57 +++++++++++++++++++++++++++++++++---- sys/vfs/hammer/hammer_btree.c | 48 ++++++++++++++++++++++++++++---- sys/vfs/hammer/hammer_disk.h | 7 ++++ sys/vfs/hammer/hammer_mirror.c | 3 +- sys/vfs/hammer/hammer_object.c | 11 ++++--- sys/vfs/hammer/hammer_ondisk.c | 11 ++++--- sys/vfs/hammer/hammer_reblock.c | 21 ++++++++++++-- 8 files changed, 136 insertions(+), 30 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/df2ccbac56a7e11715c25f2c1617dafb6db040b1 -- DragonFly BSD source repository