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

git: HAMMER VFS - Fix deadlock which can occur under severe filesystem pressure


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 4 Feb 2011 11:57:18 -0800 (PST)

commit 526fce4d2d2ce75e17fa89715624fe1e7349cc05
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Fri Feb 4 11:55:02 2011 -0800

    HAMMER VFS - Fix deadlock which can occur under severe filesystem pressure
    
    * Inode reflushes (a fsync occuring while the inode is still queued for
      a prior fsync) were not ensuring that the inode got pushed to the backend
      flusher.
    
      This could lead to deadlocks when the process trying to issue the flush
      is the syncer itself.
    
    * The problem typically occured under filesystem loads where a large number
      of inodes (aka due to a bulk build) are being flushed at once, and the
      flush is unable to finish running before the next syncer cycle comes
      around.

Summary of changes:
 sys/vfs/hammer/hammer_inode.c |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/526fce4d2d2ce75e17fa89715624fe1e7349cc05


-- 
DragonFly BSD source repository



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