From owner-freebsd-current@FreeBSD.ORG Mon Oct 18 08:54:10 2004 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 A6EDD16A4CE for ; Mon, 18 Oct 2004 08:54:10 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FB6A43D39 for ; Mon, 18 Oct 2004 08:54:07 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 5005CACAE6; Mon, 18 Oct 2004 10:53:37 +0200 (CEST) Date: Mon, 18 Oct 2004 10:53:37 +0200 From: Pawel Jakub Dawidek To: Peter Jeremy Message-ID: <20041018085337.GG73767@darkness.comp.waw.pl> References: <7m7jqjhojv.wl@black.imgsrc.co.jp> <20040924122508.GG9550@darkness.comp.waw.pl> <20040924143224.GG47816@dan.emsphone.com> <20040925095549.GH9550@darkness.comp.waw.pl> <20040925200747.GE83620@cirb503493.alcatel.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zyWF85OSvQ5Drg0Q" Content-Disposition: inline In-Reply-To: <20040925200747.GE83620@cirb503493.alcatel.com.au> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: Current Subject: Re: panic: swap_pager_isswapped: failed to locate all swap meta blocks 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: Mon, 18 Oct 2004 08:54:10 -0000 --zyWF85OSvQ5Drg0Q Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 26, 2004 at 06:07:47AM +1000, Peter Jeremy wrote: +> On Sat, 2004-Sep-25 11:55:49 +0200, Pawel Jakub Dawidek wrote: +> >On Fri, Sep 24, 2004 at 09:32:30AM -0500, Dan Nelson wrote: +> >+> Considering that the system is going down anyway, why bother? +> > +> >Because if you have swap on e.g. gmirror device, gmirror will rebuild +> >components on every boot, because components are marked dirty - +> >they were open for writing on shutdown, so it looks like a power failur= e. +>=20 +> As an alternative approach, rather than marking swap clean on a +> shutdown, why not have a flag in the object's metadata that says "this +> object doesn't need synchronising on a reboot". If the flag is set, +> then gmirror just sets both sides as synchronised and active on boot. +> This is the approach taken by HP Tru64 LSM. (Though one improvement +> you could make over LSM would be to document the flag). Such a flag only makes sense for the whole mirror, not selected components, right? This doesn't fix the case when one has file systems and swap on the same mirror, but could be helpful in some cases. --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --zyWF85OSvQ5Drg0Q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBc4SRForvXbEpPzQRAntCAKC41HY3kWUqPSJGB5hgNIx+GufmmwCfULpS KDOnaslJucmzMIy8orkB1VU= =flW2 -----END PGP SIGNATURE----- --zyWF85OSvQ5Drg0Q--