From owner-freebsd-fs@FreeBSD.ORG Wed Jun 15 13:27:50 2011 Return-Path: Delivered-To: fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59A2C1065673 for ; Wed, 15 Jun 2011 13:27:50 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 9522B8FC15 for ; Wed, 15 Jun 2011 13:27:49 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 9F37345CA6; Wed, 15 Jun 2011 15:27:47 +0200 (CEST) Received: from localhost (58.wheelsystems.com [83.12.187.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 09D5545683; Wed, 15 Jun 2011 15:27:40 +0200 (CEST) Date: Wed, 15 Jun 2011 15:27:36 +0200 From: Pawel Jakub Dawidek To: "Justin T. Gibbs" Message-ID: <20110615132736.GL1975@garage.freebsd.pl> References: <4DF7E472.9030601@scsiguy.com> <20110615121529.GJ1975@garage.freebsd.pl> <4DF8AE84.9000400@scsiguy.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="L/Qt9NZ8t00Dhfad" Content-Disposition: inline In-Reply-To: <4DF8AE84.9000400@scsiguy.com> X-OS: FreeBSD 9.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-3.9 required=4.5 tests=ALL_TRUSTED,BAYES_00, RCVD_IN_SORBS_DUL autolearn=ham version=3.0.4 Cc: fs@FreeBSD.org Subject: Re: [CFR][ZFS] Allow async event processing with a R/O root FS 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: Wed, 15 Jun 2011 13:27:50 -0000 --L/Qt9NZ8t00Dhfad Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 15, 2011 at 07:07:16AM -0600, Justin T. Gibbs wrote: > On 6/15/11 6:15 AM, Pawel Jakub Dawidek wrote: > >On Tue, Jun 14, 2011 at 04:45:06PM -0600, Justin T. Gibbs wrote: > >>Allow ZFS asynchronous event handling to proceed even if the > >>root file system is mounted read-only. This restriction appears > >>to have been put in place to avoid errors with updating the > >>configuration cache file. However: > >> > >> o The majority of asynchronous event handling does not involve > >> configuration cache file updates. > >> o The configuration cache file need not be on the root file system, > >> so the check was not complete. > >Why is that? I keep cache file on the ZFS root file system. > >It is not used by the boot loader, but is loaded by the loader: > > > > # tail -7 /boot/defaults/loader.conf > > > You can specify an alternate cache file location that doesn't have to be > on the root file system. By "the check was not complete", I mean the > "root is R/W" check doesn't ensure that the cache file is located on a > file system mounted R/W. Ah, sorry for my lame English. I read 'need not be on the root file system' as your recommendation against putting cache file there. All is clear now. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com --L/Qt9NZ8t00Dhfad Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk34s0gACgkQForvXbEpPzSlAACg4xnfHr8/TOA68ohZqtJp8EVr /LEAoI4QgiMLUS0WP7WTnc+tI2LBrpvd =YhvI -----END PGP SIGNATURE----- --L/Qt9NZ8t00Dhfad--