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

git: HAMMER VFS - hammer_inode / vp races


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 14 Jan 2010 20:07:12 -0800 (PST)

commit e0092341a30906d2f43d89f76d181dd96ccb9802
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Thu Jan 14 20:01:54 2010 -0800

    HAMMER VFS - hammer_inode / vp races
    
    * The hammer_inode must be locked when clearing the vp during a reclaim
      to interlock with a concurrent reclaim.
    
    * hammer_get_vnode() must hold the vp while holding the hammer_inode locked
      to prevent destruction when racing against drops or reclaims.
    
    * Remove the HAMMER_INODE_VHELD flag.  Backend truncations and the
      last inode release should acquire the vnode properly now in
      hammer_inode_unloadable_check().

Summary of changes:
 sys/vfs/hammer/hammer.h       |    2 +-
 sys/vfs/hammer/hammer_inode.c |   32 +++++++++++++++++++++++++++++++-
 2 files changed, 32 insertions(+), 2 deletions(-)

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


-- 
DragonFly BSD source repository



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