Subject: Re: nfsd on i386 current hangs in vnlock
To: None <current-users@netbsd.org>
From: Pavel Cahyna <pcah8322@artax.karlin.mff.cuni.cz>
List: current-users
Date: 12/16/2005 19:30:12
On Thu, Dec 15, 2005 at 08:43:28AM -0800, Bill Studenmund wrote:
> On Thu, Dec 15, 2005 at 12:29:15PM +0000, Bruce O'Neel wrote:
> > Hi,
> > 
> > Is there some way to see which lock nfsd wishes and then see who hold it?
> > Or do I misunderstand the level that locks are held on?
> 
> You understand correctly. Unfortunately we do not have a tool to determine 
> what holds the lock nfsd wants.

why not simply print the stack trace of that nfsd process? there should be
a lockmgr call and the first argument is the lock. lockmgr_printinfo()
should possibly print who own the lock. I think I already did something
similar.

Pavel Cahyna