Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Oct 2011 11:34:17 +0400
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        current@freebsd.org, fs@FreeBSD.org, geom@freebsd.org
Subject:   Re: code in GEOM thread could not use vnode API (Was: alq_open_flags() panics in _mtx_lock_flags())
Message-ID:  <349860851.20111003113417@serebryakov.spb.ru>
In-Reply-To: <228926402.20111002231459@serebryakov.spb.ru>
References:  <1258376930.20111002193223@serebryakov.spb.ru> <228926402.20111002231459@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Current.
You wrote 2 =EE=EA=F2=FF=E1=F0=FF 2011 =E3., 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.

--=20
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?349860851.20111003113417>