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

git: puffs - don't lock dvp on nresolve


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 19 Jun 2012 23:44:56 -0700 (PDT)

commit 01b8b5713691316b09588b9c28117527b3c0d0c6
Author: Alex Hornung <ahornung@gmail.com>
Date:   Tue Jun 19 14:07:26 2012 +0100

    puffs - don't lock dvp on nresolve
    
     * locking dvp on nresolve causes a deadlock with the puffsop thread
       when the dvp is the root vnode.
    
     * If a lookup/nresolve occurs at the same time as a flush via the
       puffsop, then puffsop will not be able to acquire a lock on the root
       vnode as the lookup routine already holds it. Similarly the lookup
       routine never gets woken up waiting for the message to arrive, since
       puffsop is stuck and can't reply.

Summary of changes:
 sys/vfs/puffs/puffs_vnops.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/01b8b5713691316b09588b9c28117527b3c0d0c6


-- 
DragonFly BSD source repository



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