Re: Access counts.

[ Available lists | Index of freebsd-geom | Month of Sep 2004 | Week of 17 Sep 2004 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Poul-Henning Kamp <phk@phk.freebsd.dk>
Date
17 Sep 2004 09:41:57
Subject
Re: Access counts.
Message-ID
91696.1095414116@critter.freebsd.dk

In reply to
Referenced by

[ Hide this part ]
In message <20040917092922.GO30151@darkness.comp.waw.pl>, Pawel Jakub Dawidek w
rites:

>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.

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.

--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.


Elapsed time: 0.126 seconds