Re: Witness panic in pseudofs_vncache

From: Robert Watson <rwatson_at_freebsd.org>
Date: Sun, 15 Aug 2004 13:05:48 -0400 (EDT)
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
Received on Sun Aug 15 2004 - 15:07:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:06 UTC