linuxolator - ltp testing: panic with fsync02 test

Scot Hetzel swhetzel at gmail.com
Sat Apr 21 23:34:34 UTC 2007


On 4/21/07, Dag-Erling Smørgrav <des at des.no> wrote:
> des at des.no (Dag-Erling Smørgrav) writes:
> > Roman Divacky <rdivacky at freebsd.org> writes:
> > > On Fri, Apr 20, 2007 at 08:48:11PM -0500, Scot Hetzel wrote:
> > > > Unread portion of the kernel message buffer:
> > > > panic: NOT MPSAFE and Giant not held
> > > I think this is related to MPSAFEing of pseudofs recently.. hopefully
> > > des can tell s more (CCed)
> > Yes, linprocfs_domtab() needs to call VFS_LOCK_GIANT() before namei().
>
> Here's a tentative patch.
>
The patch fixes the problem, and I was able to complete the LTP test run.

Scot
-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.


More information about the freebsd-emulation mailing list