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

git: DragonFly_RELEASE_3_0 kernel - Fix improper unlock/relock sequence in HAMMER


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 29 Mar 2012 16:07:35 -0700 (PDT)

commit 9defaf9a124970cba6a178f89c08e9e35f920145
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Fri Mar 23 13:36:27 2012 -0700

    kernel - Fix improper unlock/relock sequence in HAMMER
    
    * VOP_FSYNC() can be called during a vnode inactivation or reclaim.
      In this case the vnode lock absolutely cannot be released or it
      can create a window of opportunity for another thread that results
      in a panic.
    
    * Fixes a NFS server crash when multiple clients are trying to
      delete/create/write the same file at the same time.

Summary of changes:
 sys/vfs/hammer/hammer_vnops.c |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

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


-- 
DragonFly BSD source repository



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