From owner-freebsd-geom@FreeBSD.ORG Fri Jan 23 07:03:51 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32CB716A4CE for ; Fri, 23 Jan 2004 07:03:51 -0800 (PST) Received: from milla.ask33.net (milla.ask33.net [217.197.166.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 183D143D2D for ; Fri, 23 Jan 2004 07:03:50 -0800 (PST) (envelope-from nick@milla.ask33.net) Received: by milla.ask33.net (Postfix, from userid 1001) id 5FFA03ABB51; Fri, 23 Jan 2004 16:04:29 +0100 (CET) Date: Fri, 23 Jan 2004 16:04:29 +0100 From: Pawel Jakub Dawidek To: freebsd-geom@freebsd.org Message-ID: <20040123150429.GD565@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="L6iaP+gRLNZHKoI4" Content-Disposition: inline X-PGP-Key-URL: http://garage.freebsd.pl/jules.asc X-OS: FreeBSD 4.8-RELEASE-p13 i386 X-URL: http://garage.freebsd.pl User-Agent: Mutt/1.5.1i Subject: Serious deadlock possibility in GEOM. X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2004 15:03:51 -0000 --L6iaP+gRLNZHKoI4 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello. I've spend few days on tracking this down and... The problem is g_pending_events counter leak - it is not decreased on event cancelation and because of that g_waitidle() will wait forever. Patch is here: http://garage.freebsd.pl/patches/geom_event.c.2.patch --=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 --L6iaP+gRLNZHKoI4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iQCVAwUBQBE3/T/PhmMH/Mf1AQHL+AP7B/rvbZREf7XCqE0Dp/V5DsFOaMSvLKz+ Gc4x5b5Lo+ZdnKtiJTKNQCfh7lM4rO5aQzmMxd/IeLuvh48XNibgh8ZWpiG9Rn+/ sNOCf8VeBqNr77rm85ceES23fVqa7TNQknOA1dbjskhSGO72FTW6Q5tPDwrUr0ia MqiQYOQcYLI= =lSUh -----END PGP SIGNATURE----- --L6iaP+gRLNZHKoI4--