From owner-freebsd-geom@FreeBSD.ORG Fri Sep 17 09:49:54 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 65DA516A4CE for ; Fri, 17 Sep 2004 09:49:54 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5140B43D48 for ; Fri, 17 Sep 2004 09:49:51 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 5D0B3ACAFE; Fri, 17 Sep 2004 11:49:48 +0200 (CEST) Date: Fri, 17 Sep 2004 11:49:48 +0200 From: Pawel Jakub Dawidek To: Poul-Henning Kamp Message-ID: <20040917094948.GP30151@darkness.comp.waw.pl> References: <20040917092922.GO30151@darkness.comp.waw.pl> <91696.1095414116@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3sv7gENtRriLHjvQ" Content-Disposition: inline In-Reply-To: <91696.1095414116@critter.freebsd.dk> 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: freebsd-geom@FreeBSD.org Subject: Re: Access counts. 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, 17 Sep 2004 09:49:54 -0000 --3sv7gENtRriLHjvQ Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 17, 2004 at 11:41:56AM +0200, Poul-Henning Kamp wrote: +> >You misunderstud me. We have something like this here: +> > +> > taste thread gmirror thread +> > ------------ -------------- +> > g_access(da0s1a, 1, 0, 0) +> > GEOM:g_access(da0s1, 1, 0, 1) +> > g_access(da0s1, 0, 1, 1) -> EPERM +> > +> >This is not the same consumer in taste thread and gmirror thread. +>=20 +> Why would you want to open with exclusive in taste ? If you find that +> you need that once you've looked for metadata you can upgrade at that +> point. I don't want to! Look a bit closer. I'm opening da0s1a with r1w0e0, but da0s1a opens da0s1 with r1w0e1. I don't touch da0s1 in taste anymore, I'm only opening da0s1a there. --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --3sv7gENtRriLHjvQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBSrM8ForvXbEpPzQRAtv3AJ9bL/rYixcQEGiWxjpX2WZxTxGXhACfXxsg pPBvLumsJRHINeVMwWqLqLg= =s1Ox -----END PGP SIGNATURE----- --3sv7gENtRriLHjvQ--