DragonFly-2.3.1.327.g39d8f master sys/vfs/hammer hammer.h hammer

看板DFBSD_commit作者時間16年前 (2009/06/21 11:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 39d8fd636004057de2f4039d0c527e8a5194fb08 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Sat Jun 20 16:53:21 2009 -0700 HAMER VFS - Cache additional b-tree nodes in directory. * Cache inode record cursors in the directory at dip->cache[2] to reduce cpu overhead when iterating a directory. * Cache file object record cursors in the file's governing directory at dip->cache[3] after reading the last data record in a file, to reduce cpu overhead when chain-reading files. * Also add vfs.hammer.stats_btree_root_iterations, a counter which is incremented whenever a B-Tree search is initiated from the root node. Summary of changes: sys/vfs/hammer/hammer.h | 6 +++- sys/vfs/hammer/hammer_cursor.c | 3 ++ sys/vfs/hammer/hammer_inode.c | 65 +++++++++++++++++++++++++++++++++++++-- sys/vfs/hammer/hammer_vfsops.c | 3 ++ sys/vfs/hammer/hammer_vnops.c | 20 ++++++++++++ 5 files changed, 92 insertions(+), 5 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/39d8fd636004057de2f4039d0c527e8a5194fb08 -- DragonFly BSD source repository
文章代碼(AID): #1AFQ9q00 (DFBSD_commit)