git: HAMMER - Try to improve backend stalls due to heavy write activity.

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Sep 10 19:17:53 PDT 2009


commit ccf6a64d267d3f8776eb51a2d7ae3da363a6d22e
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Sep 10 19:05:00 2009 -0700

    HAMMER - Try to improve backend stalls due to heavy write activity.
    
    * Call hammer_inode_waitreclaims() instead of hammer_inode_waithard(),
      and disable hammer_inode_waithard().
    
      hammer_inode_waithard() waits for an entire flush cycle but can get
      called by fairly innocuous VNOPS, causing a large number of processes
      to stall for no good reason.
    
    * Change hammer_inode_waitreclaims() to wait for only one reclaim to occur
      before returning, instead of 2.

Summary of changes:
 sys/vfs/hammer/hammer_inode.c       |   46 ++++++++++++++++++----------------
 sys/vfs/hammer/hammer_transaction.c |    2 +-
 2 files changed, 25 insertions(+), 23 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list