Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 May 1998 14:10:28 +0900 (JST)
From:      Michael Hancock <michaelh@cet.co.jp>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        scrappy@hub.org, freebsd-current@FreeBSD.ORG
Subject:   Re: May 17th UP machine 'panic'
Message-ID:  <Pine.SV4.3.95.980524140422.3345B-100000@parkplace.cet.co.jp>
In-Reply-To: <199805231956.MAA10465@usr07.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 23 May 1998, Terry Lambert wrote:

> > I'll take a look at this.  Are you using quotas?
> 
> I am, I don't know if he is.
> 
> The problem is in the vput in quotaoff for the group quota file
> when doing a quotaoff on the user quota file.
> 
> Basically, the locking semantics of vget/vput pairings have apparently
> become assymetric?

vget() is confusing, because the lock flag means don't lock when 0, but
lock if LK_{lock flags} are passed.  vput() will always unlock.  But I
don't think this is the problem.

> In any case, there is a traversal of the vp's on a mount point
> in order to accredit all quota information correctly, and it is
> during this traversal that the failur occurs.
> 
> This is fairly easy to reproduce; enable user and group quotas,
> have the quota files in the / of the FS being quota'ed, and
> then do a shutdown.  The panic occurs during shutdown.

The problem seems to be a lock ownership problem rather than a missing
unlock.

Regards,


Mike Hancock


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SV4.3.95.980524140422.3345B-100000>