Re: SMP VFS Part 2

From: Jeff Roberson <jroberson_at_chesapeake.net>
Date: Wed, 1 Dec 2004 16:11:50 -0500 (EST)
On Wed, 1 Dec 2004, Peter Holm wrote:

> On Wed, Dec 01, 2004 at 05:54:49AM -0500, Jeff Roberson wrote:
> > I have updated the patch at:
> >
> > http://www.chesapeake.net/~jroberson/smpffs.diff
> >
>
> I got a page fault in kern/vfs_vnops.c:542 due to vp->v_mount == NULL.
>
> More info at http://www.holm.cc/stress/log/jeff03.html

The v_mount should only be NULL very briefly for the rootdevvp.  What is
your setup here?  Any filesystems other than devfs and ffs?  I think that
deadfs might not set a mountpoint either..  DId you do a forced unmount?
I think I know how I'm going to have to fix this.

>
> - Peter
>
> > It includes bug fixes for a handful of problems that were reported, and a
> > few more that I found myself.  It also unwinds giant from open(), which is
> > a very high risk area, but after a few days of working out bugs it seems
> > to be functioning quite well for me.
> >
> > I did a make -j3 buildworld on a box with a lowered maxvnodes.  I also let
> > 'stress' run for 8 loops or so until I ran into an unrelated KSE bug.  I
> > did some mount/unmount/single user tests as well.
> >
> > Use at your own risk.  I still haven't locked quotas, so if you're using
> > quota, don't run with this patch.
> >
> > Thanks,
> > Jeff
> > _______________________________________________
> > freebsd-current_at_freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
> --
> Peter Holm
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
Received on Wed Dec 01 2004 - 20:11:58 UTC

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