git: hammer2 - Optimize indirect block algorithm

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Jun 28 16:18:02 PDT 2016


commit 6b1f1bef5739703b7ac8a098358d3d4d61689780
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Jun 28 16:12:46 2016 -0700

    hammer2 - Optimize indirect block algorithm
    
    * Pack indirect blocks for linear files significantly better.
    
    * First level indirect block for directories reduced to 4KB (32 entries).
    
    * For now make the first level indirect block for directories cover the
      entire hash range for either inodes or directory entries (63 bits).

Summary of changes:
 sys/vfs/hammer2/hammer2_bulkfree.c |   4 +-
 sys/vfs/hammer2/hammer2_chain.c    | 477 ++++++++++++++++++++++++++++++++-----
 sys/vfs/hammer2/hammer2_disk.h     |   7 +-
 3 files changed, 425 insertions(+), 63 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6b1f1bef5739703b7ac8a098358d3d4d61689780


-- 
DragonFly BSD source repository


More information about the Commits mailing list