From owner-freebsd-geom@FreeBSD.ORG Sun Oct 2 13:04:00 2011 Return-Path: Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79B61106566B for ; Sun, 2 Oct 2011 13:04:00 +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 3E15F8FC0C for ; Sun, 2 Oct 2011 13:04:00 +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 759E34AC1C for ; Sun, 2 Oct 2011 17:03:59 +0400 (MSD) Date: Sun, 2 Oct 2011 17:03:53 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <182680354.20111002170353@serebryakov.spb.ru> To: freebsd-geom@FreeBSD.org In-Reply-To: <1554151528.20111002165630@serebryakov.spb.ru> References: <1608987289.20111002164658@serebryakov.spb.ru> <1554151528.20111002165630@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: What is geom_start() and struct bio contract? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Oct 2011 13:04:00 -0000 Hello, Freebsd-geom. You wrote 2 =EE=EA=F2=FF=E1=F0=FF 2011 =E3., 16:56:30: > I'm completely puzzled, how does it work at all! Many GEOMs set > bio_done to their done utilities, and then submit bio with > g_io_request() and it seems to work! But why?! I could not understand > this from quoted code! ok, biodone() calls this unconditionally, I need more broad grep area :) --=20 // Black Lion AKA Lev Serebryakov