git: hammer2 - small stabilization & performance pass

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Dec 13 19:20:56 PST 2012


commit 9bab8c221b9f9c56799baf5eac2175e228cdb399
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Dec 13 19:18:33 2012 -0800

    hammer2 - small stabilization & performance pass
    
    * Change a few bawrite()'s to bdwrite()'s to the bufdaemon can cluster
      the meta-data.  This greatly improves continuous flushes (e.g. when
      running blogbench).
    
    * Fix a number of improper cache_setvp() calls which can cause the
      system to panic later.  Basically the vnode was being cleared without
      the namecache error getting set (to ENOENT).  Easiest solution is to
      just not call cache_setvp() for those cases in the first place and
      just leave the ncp unresolved.

Summary of changes:
 sys/vfs/hammer2/hammer2_chain.c |    9 ++-------
 sys/vfs/hammer2/hammer2_vnops.c |   14 +++++++++-----
 2 files changed, 11 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9bab8c221b9f9c56799baf5eac2175e228cdb399


-- 
DragonFly BSD source repository



More information about the Commits mailing list