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

Andrey V. Elsukov bu7cher at yandex.ru
Tue Oct 4 04:13:05 UTC 2011


On 03.10.2011 16:18, Lev Serebryakov wrote:
>   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.

Hi, Lev

Did you try just release the topology lock before alq_open and acquire it back
before exit from _init method?

-- 
WBR, Andrey V. Elsukov


More information about the freebsd-fs mailing list