Dead vnode locking against itself

Alexander Kabaev kan at freebsd.org
Mon Dec 6 12:56:29 PST 2004


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


More information about the freebsd-fs mailing list