Access counts.

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Sep 17 02:41:58 PDT 2004


In message <20040917092922.GO30151 at 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 at 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.


More information about the freebsd-geom mailing list