Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Sep 2004 11:01:49 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Pawel Jakub Dawidek <pjd@freebsd.org>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: Access counts. 
Message-ID:  <90879.1095411709@critter.freebsd.dk>
In-Reply-To: Your message of "Fri, 17 Sep 2004 10:57:44 %2B0200." <20040917085744.GN30151@darkness.comp.waw.pl> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20040917085744.GN30151@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@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.



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