geom access method and g_topology_lock
Poul-Henning Kamp
phk at phk.freebsd.dk
Thu Oct 25 08:41:20 UTC 2012
--------
In message <5088FA15.30205 at 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 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