Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Sep 2004 12:03:17 +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:  <20040917100317.GQ30151@darkness.comp.waw.pl>
In-Reply-To: <91995.1095415106@critter.freebsd.dk>
References:  <20040917094948.GP30151@darkness.comp.waw.pl> <91995.1095415106@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

--fvotiRPmxuu5ONx4
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Sep 17, 2004 at 11:58:26AM +0200, Poul-Henning Kamp wrote:
+> >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
+> So what you're saying that you are using two different consumers
+> for da0s1 inside the same instance of g_mirror ?   One for trafic
+> (the one you open in your access) and one for metadata (in gmirror
+> thread)  ?

No...
I'm tasing da0s1a, right? And what is happening when I open da0s1a r1w0e0?
The class, which is owner of da0s1a opens da0s1 r1w0e1, then the class
which is owner of da0s1 opens da0 r1w0e2 (probably) and then I can send my
READ. What I'm trying to say is that I open da0s1a and it triggers opening
da0s1 with r1w0e1 and at the same time I'm trying to open da0s1 for writing
and it fails.

--=20
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd@FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!

--fvotiRPmxuu5ONx4
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBSrZlForvXbEpPzQRAtvhAKDRkiYEKo6jLA8mLJQ6iDmOTCY8QgCcCLjh
rR0RtuyMJIQJOM4yRJtcWAs=
=f8qI
-----END PGP SIGNATURE-----

--fvotiRPmxuu5ONx4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040917100317.GQ30151>