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

git: kernel NFS - Fix another deadlock in the readdirplus code


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 11 Feb 2010 12:46:33 -0800 (PST)

commit 94f2e6f24f393d773800d0f9c448969bc5b16cf0
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Thu Feb 11 12:44:21 2010 -0800

    kernel NFS - Fix another deadlock in the readdirplus code
    
    * Add vn_islocked_unlock() and vn_islocked_relock() to help NFS
      temporarily unlock a possibly-locked directory vnode when
      trying to instantiate readdirplus children under that directory.
    
    * Fixes a deadlock in NFS.

Summary of changes:
 sys/kern/vfs_vnops.c    |   39 +++++++++++++++++++++++++++++++++++++++
 sys/sys/vnode.h         |    2 ++
 sys/vfs/nfs/nfs_vnops.c |   13 +++++++++++++
 3 files changed, 54 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/94f2e6f24f393d773800d0f9c448969bc5b16cf0


-- 
DragonFly BSD source repository



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