看板 DFBSD_commit 關於我們 聯絡資訊
commit beec5dc43986ce517c677d6ba2e7ddb9697bf941 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Sun Jun 28 10:23:23 2009 -0700 HAMMER VFS - version 2 work - move directory entries to inode localization * Set version 2 features. Directories created in a version 2 HAMMER filesystem place their directory entries in the B-Tree's inode localization space instead of the general space. Pre-existing directories continue to use the old scheme. * Amost doubles directory lookup / find / ls performance in effected directories. However, at the moment the B-Tree must be reblocked before the gains are seen. Summary of changes: sys/vfs/hammer/hammer.h | 17 +++++++++++++++++ sys/vfs/hammer/hammer_disk.h | 7 +++++-- sys/vfs/hammer/hammer_inode.c | 7 ++++--- sys/vfs/hammer/hammer_ioctl.c | 6 +++++- sys/vfs/hammer/hammer_object.c | 4 ++-- sys/vfs/hammer/hammer_vnops.c | 8 ++++---- 6 files changed, 37 insertions(+), 12 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/beec5dc43986ce517c677d6ba2e7ddb9697bf941 -- DragonFly BSD source repository