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

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 23 Mar 2012 13:39:42 -0700 (PDT)

commit aad00981445a4e7c60d89f07717d431f8a228e39
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/aad00981445a4e7c60d89f07717d431f8a228e39


-- 
DragonFly BSD source repository



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