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

Lev Serebryakov lev at FreeBSD.org
Mon Oct 3 07:34:25 UTC 2011


Hello, Current.
You wrote 2 октября 2011 г., 23:14:59:

>   It seems, that error only occurs when I call alq API from geom
> threads (from g_events, for example). Module, which is not GEOM
> class, could use this API without any problem!

>   Is it normal, that GEOM could not use vnode API? Is it normal, that
> this leads to panic, and not some diagnostic messages, even with
> WITNESS and other diagnostic options turned on?

  not holding (explicitly release before call) topology lock doesn't
 help.

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



More information about the freebsd-geom mailing list