From owner-freebsd-current@FreeBSD.ORG Thu Oct 2 20:09:46 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD67D106568A for ; Thu, 2 Oct 2008 20:09:46 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5096F8FC1A for ; Thu, 2 Oct 2008 20:09:46 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m92K9du3084533; Thu, 2 Oct 2008 16:09:40 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Thu, 2 Oct 2008 15:53:12 -0400 User-Agent: KMail/1.9.7 References: <2DC640DB-2B7C-4111-9842-BDFA3E134282@panasas.com> In-Reply-To: <2DC640DB-2B7C-4111-9842-BDFA3E134282@panasas.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810021553.12976.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Thu, 02 Oct 2008 16:09:40 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/8372/Thu Oct 2 11:21:47 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Joel Jacobson Subject: Re: scatter/gather in struct buf/bio X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 20:09:46 -0000 On Thursday 02 October 2008 02:11:38 pm Joel Jacobson wrote: > Greetings - > > I have something which would be vastly improved by the ability to > construct my own sgl to pass through a buf, and ran across: > > http://wiki.freebsd.org/Buf0x > > Is there somewhere I can follow progress, and/or contribute assistance? The jhb_bio branch still exists. I've made some refinements to the sglist API and need to do so more. I think my next test will be to add a sglist to each bio in geom_disk and geom_vfs. I then might try to update physio (dd if=/dev/XXX) to not map buffers into KVA (probably tweakable via sysctl) and patch ATA to use the new bus dma call with the sglist in the bio and see what difference that makes. -- John Baldwin