code in GEOM thread could not use vnode API (Was: alq_open_flags() panics in _mtx_lock_flags())

Lev Serebryakov lev at FreeBSD.org
Tue Oct 4 08:03:40 UTC 2011


Hello, Andrey.
You wrote 4 октября 2011 г., 8:13:01:

>>   This is geom_zero module, which try to create ALQ with name
>>   "/var/log/zero.alq.log" on it load (not creation! So, you don't need
>>   even create such GEOM!). Please note, that "init" callback of GEOM
>>   class is called in g_event GEOM thread.
> Did you try just release the topology lock before alq_open and acquire it back
> before exit from _init method?
  Yep. Doesn't help. Same panic in same place.

-- 
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>



More information about the freebsd-fs mailing list