Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Oct 2011 08:13:01 +0400
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        lev@FreeBSD.org
Cc:        Lawrence Stewart <lstewart@freebsd.org>, fs@freebsd.org
Subject:   Re: code in GEOM thread could not use vnode API (Was: alq_open_flags() panics in _mtx_lock_flags())
Message-ID:  <4E8A87CD.2080001@yandex.ru>
In-Reply-To: <1223820108.20111003161859@serebryakov.spb.ru>
References:  <1258376930.20111002193223@serebryakov.spb.ru> <228926402.20111002231459@serebryakov.spb.ru> <349860851.20111003113417@serebryakov.spb.ru> <4E8986F0.3050007@freebsd.org> <1223820108.20111003161859@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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