From owner-freebsd-fs@FreeBSD.ORG Sun Mar 22 20:34:02 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2E1C106566C for ; Sun, 22 Mar 2009 20:34:02 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello087206045082.chello.pl [87.206.45.82]) by mx1.freebsd.org (Postfix) with ESMTP id 2A1278FC08 for ; Sun, 22 Mar 2009 20:34:01 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 4D12B45685; Sun, 22 Mar 2009 21:33:59 +0100 (CET) Received: from localhost (chello087206045082.chello.pl [87.206.45.82]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 4FFEA45683; Sun, 22 Mar 2009 21:33:50 +0100 (CET) Date: Sun, 22 Mar 2009 21:34:27 +0100 From: Pawel Jakub Dawidek To: Gregory Sutter Message-ID: <20090322203427.GL3102@garage.freebsd.pl> References: <20090311215518.GA25410@gvr.gvr.org> <20090312195904.GA1786@garage.freebsd.pl> <20090322120521.GA5584@kyanos.zer0.org> <20090322172749.GJ3102@garage.freebsd.pl> <20090322194335.GL2075@kyanos.zer0.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="svExV93C05KqedWb" Content-Disposition: inline In-Reply-To: <20090322194335.GL2075@kyanos.zer0.org> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 8.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@freebsd.org Subject: Re: RFC: geli+gmirror problem + solution X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Mar 2009 20:34:03 -0000 --svExV93C05KqedWb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 22, 2009 at 12:43:35PM -0700, Gregory Sutter wrote: > On 2009-03-22 18:27 +0100, Pawel Jakub Dawidek wrote: > > On Sun, Mar 22, 2009 at 05:05:21AM -0700, Gregory Sutter wrote: > > > On 2009-03-12 20:59 +0100, Pawel Jakub Dawidek wrot= e: > > > > On Wed, Mar 11, 2009 at 10:55:18PM +0100, Guido van Rooij wrote: > > > > > > > > > > Anyway, when rebooting, geli does not detach and this the gmirror= is > > > > > never destroyed resulting in a rebuild each time. > > > >=20 > > > > Maybe you could implement detaching on reboot > > > > for geli providers? You can find example of how to do this in three= last > > > > functions in sys/geom/mirror/g_mirror.c. > > >=20 > > > Has this been filed as a PR, and has any progress been made on a fix? > >=20 > > The rest of the discussion was made private (probably by accident), > > sorry about that. Fix is already committed to HEAD. >=20 > Woot. Thanks for committing that! >=20 > This fix looks like a straightforward MFC: > http://svnweb.freebsd.org/viewvc/base/head/sys/geom/eli/g_eli.c?r1=3D1725= 06&r2=3D189900 >=20 > Do you agree, and if so, will you please MFC to 7-STABLE? That's > where I'm encountering the problem. Let it settle for a week in HEAD, then I'll do MFC. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --svExV93C05KqedWb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFJxqDTForvXbEpPzQRAtpZAKCol+D6SxC/ztlPxmC10L4sMbIA7wCgw+l/ JlQeJ7OagIWTj88YdCabbuo= =n/7g -----END PGP SIGNATURE----- --svExV93C05KqedWb--