Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2012 08:41:18 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        freebsd-geom@FreeBSD.org
Subject:   Re: geom access method and g_topology_lock
Message-ID:  <70960.1351154478@critter.freebsd.dk>
In-Reply-To: <5088FA15.30205@FreeBSD.org>
References:  <5088E0E0.2080307@FreeBSD.org> <28185.1351150111@critter.freebsd.dk> <5088FA15.30205@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--------
In message <5088FA15.30205@FreeBSD.org>, Andriy Gapon writes:

>Both pieces look sane and non-racy (because of g_topology_assert) until we allow
>g_access (some geom access method, rather) to drop the topology lock.

You lost me there.

g_access() cannot do its job without holding the topology lock.


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