From owner-freebsd-current Tue Jul 25 7:25:58 2000 Delivered-To: freebsd-current@freebsd.org Received: from localhost (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id EBF5D37B68D; Tue, 25 Jul 2000 07:25:42 -0700 (PDT) (envelope-from green@FreeBSD.org) Date: Tue, 25 Jul 2000 10:25:38 -0400 (EDT) From: Brian Fundakowski Feldman X-Sender: green@green.dyndns.org To: Ollivier Robert Cc: FreeBSD Current Users' list , mckusick@mckusick.com Subject: Re: Panic: lockmgr: pid 5, not exclusive lock holder 0 unlocking In-Reply-To: <20000725093521.A636@caerdonn.eurocontrol.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Actually, I'm pretty certain this is the fix: Index: vfs_bio.c =================================================================== RCS file: /usr2/ncvs/src/sys/kern/vfs_bio.c,v retrieving revision 1.260 diff -u -r1.260 vfs_bio.c --- vfs_bio.c 2000/07/11 22:07:43 1.260 +++ vfs_bio.c 2000/07/25 14:24:26 @@ -1067,9 +1067,6 @@ if (bp->b_qindex != QUEUE_NONE) panic("brelse: free buffer onto another queue???"); if (BUF_REFCNT(bp) > 1) { - /* Temporary panic to verify exclusive locking */ - /* This panic goes away when we allow shared refs */ - panic("brelse: multiple refs"); /* do not release to free list */ BUF_UNLOCK(bp); splx(s); @@ -1192,7 +1189,6 @@ panic("bqrelse: free buffer onto another queue???"); if (BUF_REFCNT(bp) > 1) { /* do not release to free list */ - panic("bqrelse: multiple refs"); BUF_UNLOCK(bp); splx(s); return; -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@FreeBSD.org `------------------------------' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message