Access counts.

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


In message <20040917085744.GN30151 at darkness.comp.waw.pl>, Pawel Jakub Dawidek w
rites:

>Now, let's go back to George's problem. Gmirror detects da0s1 as a part
>of the mirror, it creates consumer, etc. Geom gives da0s1a for tasting.
>Gmirror opens it for reading, but da0s1 is opened r1w0e1.
>In the same time, gmirror's working thread wants to update metadata,
>but it cannot do this, because it cannot open da0s1 for writing,
>because it has exclusive bit already. In such situation gmirror
>disconnects this component.

Gmirror does something wrong.

You can upgrade your open from r1w0e1 to r1w1e1 if you want to.

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