From owner-freebsd-geom@FreeBSD.ORG Fri Dec 10 15:33:27 2010 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 97DB8106564A for ; Fri, 10 Dec 2010 15:33:27 +0000 (UTC) (envelope-from lev@serebryakov.spb.ru) Received: from ftp.translate.ru (ftp.translate.ru [80.249.188.42]) by mx1.freebsd.org (Postfix) with ESMTP id 5749F8FC1D for ; Fri, 10 Dec 2010 15:33:27 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (89.112.15.178.pppoe.eltel.net [89.112.15.178]) (Authenticated sender: lev@serebryakov.spb.ru) by ftp.translate.ru (Postfix) with ESMTPA id 5B73C13DF48 for ; Fri, 10 Dec 2010 18:33:26 +0300 (MSK) Date: Fri, 10 Dec 2010 18:33:22 +0300 From: Lev Serebryakov X-Priority: 3 (Normal) Message-ID: <1136849868.20101210183322@serebryakov.spb.ru> To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Subject: One more question: is here any way to know is consumer busy or not? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2010 15:33:27 -0000 Hello, Freebsd-geom. The same idea about pre-reading in case of providers with multiple consumers (BTW, I think that terminology here is swapped): it looks good to issue pre-read only if target consumer is idle. Is here any way to determine that? For example, ehat exactly means percents of load in gstat output? Can I rely on this statistics, and how should I get it in-kernel? --=20 // Black Lion AKA Lev Serebryakov