Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2003 16:28:14 +0200
From:      Pawel Jakub Dawidek <nick@garage.freebsd.pl>
To:        freebsd-current@freebsd.org
Subject:   Re: File system deadlock. GBDE(4) and/or MD(4) related.
Message-ID:  <20030724142814.GX43543@garage.freebsd.pl>
In-Reply-To: <20030724135707.GW43543@garage.freebsd.pl>
References:  <20030724135707.GW43543@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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