on 25/10/2012 11:41 Poul-Henning Kamp said the following:
> --------
> In message <[email protected]>, 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.
> 
> 

Will it help if I repeat my original questions:

Is that bad if a geom's access method drops and re-acquires g_topology_lock
while doing some internal stuff?
Is that allowed at all?

To clarify, if that's needed, by "geom's access method" I meant the 'access'
member with g_access_t type in struct g_geom.

-- 
Andriy Gapon
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-geom
To unsubscribe, send any mail to "[email protected]"

Reply via email to