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

From: Lev Serebryakov <lev_at_FreeBSD.org>
Date: Mon, 3 Oct 2011 11:34:17 +0400
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>
Received on Mon Oct 03 2011 - 05:34:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:18 UTC