Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Apr 1997 11:28:05 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        ache@nagual.ru (=?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?=)
Cc:        dyson@FreeBSD.ORG, bde@zeta.org.au, current@FreeBSD.ORG
Subject:   Re: ufs lock panic in -current
Message-ID:  <199704021828.LAA14010@phaeton.artisoft.com>
In-Reply-To: <Pine.BSF.3.96.970402080704.271A-100000@nagual.ru> from "=?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?=" at Apr 2, 97 08:10:30 am

next in thread | previous in thread | raw e-mail | index | archive | help
> I just got following panic:
> 
> lockmgr: locking against myself
> 
> stack looks like:
> 
> lockmgr
> ufs_lock
> vn_lock
> vputrele
> vrele
> vnode_pager_dealloc
> vm_pager_deallocate
> vm_pager_terminate
> vm_object_deallocate
> vputrele
> vrele
> execve
> 
> Please, fix.

The fix is conceptually non-trivial, and requires that the transitive
closure be calculated at the same layer for all FS's.  This implies a
veto, rather than a call-down, interface for VOP_LOCK.

Physically, the fix is about 200 lines of code, including all FS
code changes.


					Regards,
					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



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