Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Dec 2004 20:56:28 +0000
From:      Alexander Kabaev <kan@freebsd.org>
To:        Thomas Nystrom <thn@saeab.se>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Dead vnode locking against itself
Message-ID:  <20041206205628.GA3309@freefall.freebsd.org>
In-Reply-To: <41B0C899.C005AE1E@saeab.se>
References:  <41B0C899.C005AE1E@saeab.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 03, 2004 at 09:12:09PM +0100, Thomas Nystrom wrote:
> 
> If I look at the source I can see that in sys/kern/vfs_subr.c:2696
> (in vgonel) the vnode is locked by VI_XLOCK. Later on (via vclean)
> dead_lock is called and founds that the vnode is locked. It then
> waits for it to be unlocked and the results is a hanged process.
> 
> What have I missed or have I found a bug?
> 
> /thn
> 
I wonder why vclean was called on a vnode with dead_vnodeops in the
first place. Could you please post an output of 'print *vp' for
the vnode being cleaned?

--
Alexander Kabaev



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041206205628.GA3309>