git: hammer2 hammer2 - Avoid unnecessary IO

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Mar 20 21:24:51 PDT 2012


commit 879fd32f7cbd0fe14b7ebe04266648545d94d085
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Mar 20 15:35:07 2012 -0700

    hammer2 - Avoid unnecessary IO
    
    * With the new strategy we no longer have to build smaller blocksizes into
      larger buffers.
    
      When flushing embedded data we can now getblk() the block instead of
      bread() it.
    
    * DELETED nodes have to be explicitly flushed to remove references
      associated with MODIFY1 and MOVE.
    
    * There's no need to flush meta-data associated with a deleted node.

Summary of changes:
 sys/vfs/hammer2/hammer2_chain.c |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/879fd32f7cbd0fe14b7ebe04266648545d94d085


-- 
DragonFly BSD source repository





More information about the Commits mailing list