From owner-freebsd-current@FreeBSD.ORG Mon Oct 3 07:34:25 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C92A2106566C; Mon, 3 Oct 2011 07:34:25 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 8C6468FC08; Mon, 3 Oct 2011 07:34:25 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:906c:6af3:5301:18c6]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 3452E4AC1C; Mon, 3 Oct 2011 11:34:24 +0400 (MSD) Date: Mon, 3 Oct 2011 11:34:17 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <349860851.20111003113417@serebryakov.spb.ru> To: current@freebsd.org, fs@FreeBSD.org, geom@freebsd.org In-Reply-To: <228926402.20111002231459@serebryakov.spb.ru> References: <1258376930.20111002193223@serebryakov.spb.ru> <228926402.20111002231459@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: code in GEOM thread could not use vnode API (Was: alq_open_flags() panics in _mtx_lock_flags()) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2011 07:34:25 -0000 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