Date: Sun, 15 Aug 2004 13:05:48 -0400 (EDT) From: Robert Watson <rwatson@freebsd.org> To: =?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?= <des@des.no> Cc: freebsd-current@freebsd.org Subject: Re: Witness panic in pseudofs_vncache Message-ID: <Pine.NEB.3.96L.1040815130517.30898M-100000@fledge.watson.org> In-Reply-To: <xzpfz6ohjea.fsf@dwp.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 15 Aug 2004, Dag-Erling Sm=F8rgrav wrote: > Robert Watson <rwatson@freebsd.org> writes: > > This appears to be a bug in pseudofs due to calling vgone() while holdi= ng > > 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 restarti= ng. > > I've CC'd DES because this is his baby. >=20 > What do you think of the attached patch?=20 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@fledge.watson.org Principal Research Scientist, McAfee Research
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1040815130517.30898M-100000>