git: HAMMER VFS - Fix TAILQ bug

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jan 3 20:26:18 PST 2011


commit d1ce15588f8d8384181ae06fee5acb8ce46caace
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jan 3 20:14:22 2011 -0800

    HAMMER VFS - Fix TAILQ bug
    
    * Fix two cases where an ocp (object id allocation cache block for
      directories) is kfree()'d without removing it from hmp->objid_cache_list.
      These could cause a panic or lockup.
    
    * Increase the inode allocation / directory hash matching bitmap fill
      level from 50% to 75%.
    
    * Properly account hmp->objid_cache_count in hammer_destroy_objid_cache().

Summary of changes:
 sys/vfs/hammer/hammer_transaction.c |   19 ++++++++++++-------
 1 files changed, 12 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d1ce15588f8d8384181ae06fee5acb8ce46caace


-- 
DragonFly BSD source repository





More information about the Commits mailing list