Access counts.

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Sep 17 02:49:54 PDT 2004


On Fri, Sep 17, 2004 at 11:41:56AM +0200, Poul-Henning Kamp wrote:
+> >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.

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.

-- 
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd at FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20040917/29075173/attachment.bin


More information about the freebsd-geom mailing list