DragonFly commits List (threaded) for 2009-06
DragonFly BSD
DragonFly commits List (threaded) for 2009-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

DragonFly-2.3.1.327.g39d8f master sys/vfs/hammer hammer.h hammer_cursor.c hammer_inode.c hammer_vfsops.c hammer_vnops.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 20 Jun 2009 19:40:48 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]