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

git: hammer2 - small stabilization & performance pass


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 13 Dec 2012 19:20:56 -0800 (PST)

commit 9bab8c221b9f9c56799baf5eac2175e228cdb399
Author: Matthew Dillon <dillon@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



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