From owner-freebsd-stable@FreeBSD.ORG Wed Sep 3 11:27:16 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F4131106564A for ; Wed, 3 Sep 2008 11:27:15 +0000 (UTC) (envelope-from is@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.freebsd.org (Postfix) with ESMTP id A7C588FC0A for ; Wed, 3 Sep 2008 11:27:15 +0000 (UTC) (envelope-from is@rambler-co.ru) Received: from localhost (is1.park.rambler.ru [81.19.64.121]) by relay0.rambler.ru (Postfix) with ESMTP id 9204A5EBC; Wed, 3 Sep 2008 15:27:14 +0400 (MSD) Date: Wed, 3 Sep 2008 15:25:12 +0400 From: Igor Sysoev To: Sujit Karataparambil Message-ID: <20080903112512.GB62541@rambler-co.ru> References: <20080903095352.GA62541@rambler-co.ru> <921ca19c0809030333u6accf415l80ec5bfb4a984ce1@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <921ca19c0809030333u6accf415l80ec5bfb4a984ce1@mail.gmail.com> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-stable@freebsd.org Subject: Re: vfs.ffs.rawreadahead X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2008 11:27:16 -0000 On Wed, Sep 03, 2008 at 04:03:59PM +0530, Sujit Karataparambil wrote: > The VFS was designed to be Object abtraction of the Berkeley Fast File System. > This has been since an terminology with journalling filesystem to have > functionality to added on request. In src/sys/ufs/ffs/ffs_rawread.c I see that rawreadahead is used. However, I do not understand whether rawreadahead starts a second parallel ahead disk transaction with supplied userland buffer or not. -- Igor Sysoev http://sysoev.ru/en/ > On 9/3/08, Igor Sysoev wrote: > > Hi, > > > > could anyone tell what does vfs.ffs.rawreadahead enable ? > > As I understand it's used in DIRECTIO code that allows read data > > directly to an userland buffer bypassing the buffer cache. > > What I can not understand where the read ahead data can be placed in ? > > > > > > -- > > Igor Sysoev > > http://sysoev.ru/en/