From owner-freebsd-bugs Wed Jun 5 16:50: 6 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id D2C5737B417 for ; Wed, 5 Jun 2002 16:49:34 -0700 (PDT) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id JAA30400 for ; Thu, 6 Jun 2002 09:49:27 +1000 Date: Thu, 6 Jun 2002 09:50:03 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: freebsd-bugs@FreeBSD.ORG Subject: Re: kern/38923: Incorrect device use count prevents door locking In-Reply-To: <200206052250.g55Mo3R79159@freefall.freebsd.org> Message-ID: <20020606094620.W9383-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 5 Jun 2002, Bruce Evans wrote: > This is due to count_dev() not actually working. I have had the following The precise failure mechanism is that. The upper disk layer calls the driver open with dev == the primary device for the device being opened (e.g. afd0 for afd0s4), so checking count(dev) in the driver can only work for the primary device. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message