From owner-freebsd-geom@FreeBSD.ORG Fri Oct 21 10:17:35 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org 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 81E5F16A41F for ; Fri, 21 Oct 2005 10:17:35 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA6BA43D46 for ; Fri, 21 Oct 2005 10:17:34 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 49F7150F95; Fri, 21 Oct 2005 12:17:32 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 0CA33509F1; Fri, 21 Oct 2005 12:17:25 +0200 (CEST) Date: Fri, 21 Oct 2005 12:17:10 +0200 From: Pawel Jakub Dawidek To: Szalai Andras Message-ID: <20051021101710.GA814@garage.freebsd.pl> References: <20051021085000.GA62267@web.djw.hu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline In-Reply-To: <20051021085000.GA62267@web.djw.hu> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-geom@freebsd.org Subject: Re: gnop problem? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Oct 2005 10:17:35 -0000 --0F1p//8PRICkK4MW Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 21, 2005 at 10:50:00AM +0200, Szalai Andras wrote: +> Hi, +>=20 +> The situation is the following: +>=20 +> In g_nop_destroy() there is a line: +> g_free(gp->softc); +>=20 +> But what happens, when immediately after this line a=20 +> request comes in that is handled by g_nop_start. But=20 +> softc is already freed -> panic? There is a check if provider is closed. If it is closed, no I/O requests are going to happen. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --0F1p//8PRICkK4MW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDWMAmForvXbEpPzQRAoTmAKCDNSbobT6C6tVWRMQ80rMLAjJcvACfUenO p9k0NDr1Wbo0pOOXJtJssVY= =gs3u -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW--