Witness panic in pseudofs_vncache

Robert Watson rwatson at freebsd.org
Sun Aug 15 10:07:39 PDT 2004


On Sun, 15 Aug 2004, Dag-Erling Smørgrav wrote:

> Robert Watson <rwatson at freebsd.org> writes:
> > This appears to be a bug in pseudofs due to calling vgone() while holding
> > the pfs_vncache_mutex, as vgone() can sleep due to acquiring lockmgr
> > locks.  The fix is likely to make this looping even less efficient by
> > dropping the mutex before calling vgone() on a vnode, and then restarting.
> > I've CC'd DES because this is his baby.
> 
> What do you think of the attached patch? 

Has all the good and bad attributes I had expected, but hopefully will fix
the problem :-).

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert at fledge.watson.org      Principal Research Scientist, McAfee Research




More information about the freebsd-current mailing list