Date: Fri, 17 Sep 2004 11:49:48 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: freebsd-geom@FreeBSD.org Subject: Re: Access counts. Message-ID: <20040917094948.GP30151@darkness.comp.waw.pl> In-Reply-To: <91696.1095414116@critter.freebsd.dk> References: <20040917092922.GO30151@darkness.comp.waw.pl> <91696.1095414116@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040917094948.GP30151>