git: puffs - don't lock dvp on nresolve

Alex Hornung alexh at crater.dragonflybsd.org
Tue Jun 19 23:44:56 PDT 2012


commit 01b8b5713691316b09588b9c28117527b3c0d0c6
Author: Alex Hornung <ahornung at 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


More information about the Commits mailing list

AltStyle によって変換されたページ (->オリジナル) /