From owner-freebsd-fs@FreeBSD.ORG Tue Oct 4 04:13:05 2011 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 780A4106566B; Tue, 4 Oct 2011 04:13:05 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward7.mail.yandex.net (forward7.mail.yandex.net [IPv6:2a02:6b8:0:202::2]) by mx1.freebsd.org (Postfix) with ESMTP id DB59B8FC0A; Tue, 4 Oct 2011 04:13:04 +0000 (UTC) Received: from smtp6.mail.yandex.net (smtp6.mail.yandex.net [77.88.61.56]) by forward7.mail.yandex.net (Yandex) with ESMTP id 374421C1AF0; Tue, 4 Oct 2011 08:13:03 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1317701583; bh=+QN6SQ/+67e06IUYzBntVV2taM+ijNRai8V2WAcRce0=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=AfS0w4LJzgL7X+QMPZLmkFYyrzYEsXhWni2KNP35cqzJ4F/vXCvY1awyUAMThTjSW LS0LtfYU1+SlfxDVOi3NEELQA6W8TY9JN5pgEdV9z3MRqjNJcm24H32YNQHaAC265f oNvB0f2MVSTLHouRU5B1mn+l6S0Zud64/jhqJkrc= Received: from smtp6.mail.yandex.net (localhost [127.0.0.1]) by smtp6.mail.yandex.net (Yandex) with ESMTP id 0D3D5164033A; Tue, 4 Oct 2011 08:13:03 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1317701583; bh=+QN6SQ/+67e06IUYzBntVV2taM+ijNRai8V2WAcRce0=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=AfS0w4LJzgL7X+QMPZLmkFYyrzYEsXhWni2KNP35cqzJ4F/vXCvY1awyUAMThTjSW LS0LtfYU1+SlfxDVOi3NEELQA6W8TY9JN5pgEdV9z3MRqjNJcm24H32YNQHaAC265f oNvB0f2MVSTLHouRU5B1mn+l6S0Zud64/jhqJkrc= Received: from mail.kirov.so-ups.ru (mail.kirov.so-ups.ru [178.74.170.1]) by smtp6.mail.yandex.net (nwsmtp/Yandex) with ESMTP id D2u0o1O3-D2uCGiV9; Tue, 4 Oct 2011 08:13:02 +0400 X-Yandex-Spam: 1 Message-ID: <4E8A87CD.2080001@yandex.ru> Date: Tue, 04 Oct 2011 08:13:01 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: lev@FreeBSD.org 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> In-Reply-To: <1223820108.20111003161859@serebryakov.spb.ru> X-Enigmail-Version: 1.3.2 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Cc: Lawrence Stewart , fs@freebsd.org Subject: Re: code in GEOM thread could not use vnode API (Was: alq_open_flags() panics in _mtx_lock_flags()) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2011 04:13:05 -0000 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