From owner-freebsd-current@FreeBSD.ORG Thu Jul 24 07:27:40 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4276337B401 for ; Thu, 24 Jul 2003 07:27:40 -0700 (PDT) Received: from milla.ask33.net (milla.ask33.net [217.197.166.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BD0343F3F for ; Thu, 24 Jul 2003 07:27:39 -0700 (PDT) (envelope-from nick@milla.ask33.net) Received: by milla.ask33.net (Postfix, from userid 1001) id 7792E3ABB51; Thu, 24 Jul 2003 16:28:14 +0200 (CEST) Date: Thu, 24 Jul 2003 16:28:14 +0200 From: Pawel Jakub Dawidek To: freebsd-current@freebsd.org Message-ID: <20030724142814.GX43543@garage.freebsd.pl> References: <20030724135707.GW43543@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="0Qexx6XJGNEACt6j" Content-Disposition: inline In-Reply-To: <20030724135707.GW43543@garage.freebsd.pl> X-PGP-Key-URL: http://garage.freebsd.pl/jules.asc X-OS: FreeBSD 4.8-RELEASE i386 X-URL: http://garage.freebsd.pl User-Agent: Mutt/1.5.1i Subject: Re: File system deadlock. GBDE(4) and/or MD(4) related. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 14:27:40 -0000 --0Qexx6XJGNEACt6j Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 24, 2003 at 03:57:07PM +0200, Pawel Jakub Dawidek wrote: +> I've found deadlock in gbde(4) and/or md(4). Yes, it is gbde fault: db> show lockedvnods [...] 0xc3332920: tag ufs, type VREG, usecount 1, writecount 0, refcount 21, flag= s (VV_OBJBUF), lock type ufs: EXCL (count 1) by thread 0xc2ca5000 ino 8214, on dev md0.bde (4, 23) 0xc33325b4: tag ufs, type VREG, usecount 2, writecount 1, refcount 25, flag= s (VV_OBJBUF), lock type ufs: EXCL (count 1) by thread 0xc2ec3980 ino 8217, on dev md0.bde (4, 23) [...] Look at refcounts. --=20 Pawel Jakub Dawidek pawel@dawidek.net UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net --0Qexx6XJGNEACt6j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iQCVAwUBPx/s/j/PhmMH/Mf1AQGnJAQAlMpxr7YC8k7f+pXYNgJ82F8i/Sr2tA8z V52CoIJh0XI51GOeGeAitW/VuxK0skVKUgsmOUJKj3NQ0q1ZNfuYEDKPTpZQHg8S DKKEOgSIacc2QtjspfKmAriXhhIq4UmjhjgUS8H5idRBRUWacirNvOmO2ASJ2W2v VPRNXsM0JvQ= =2QIs -----END PGP SIGNATURE----- --0Qexx6XJGNEACt6j--