From: Joe Jin Subject: Re: [patch 0/6] xenblk: Add O_DIRECT and O_SYNC support. Date: Thu, 6 Nov 2008 16:23:19 +0800 Message-ID: <20081106082319.GA25301@joejin-pc.cn.oracle.com> References: <20081105201649.GQ21867@kernel.dk> <20081106081753.GV21867@kernel.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20081106081753.GV21867@kernel.dk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jens Axboe Cc: Jeremy Fitzhardinge , Xen-devel@lists.xensource.com, kurt.hackel@oracle.com, shinya.narahara@oracle.com, Joe Jin , greg.marsden@oracle.com, wen.gang.wang@oracle.com, Keir Fraser List-Id: xen-devel@lists.xenproject.org On 2008-11-06 09:17, Jens Axboe wrote: > On Wed, Nov 05 2008, Keir Fraser wrote: > > On 5/11/08 20:16, "Jens Axboe" wrote: > > > > >>> Does blkback propagate unplug events downwards? > > >> > > >> Not sure what that means. blkback does its own limited queue plugging to try > > >> to develop usefully schedulable batches of I/O. There's no concept of > > >> plugging across the blkfront/blkback interface. > > > > > > So once you leave your queuing loop, you unplug the below device? Or > > > just point me at the source... > > > > The tree's at http://xenbits.xensource.com/linux-2.6.18-xen.hg > > > > You can clone it or browse it there. > > > > The medium- to long-term issue is just to make sure that Jeremy's port of > > blkback into upstream Linux (which he's probably working on at the moment) > > doesn't perpetuate the bio violations. But I guess we should fix 2.6.18 too > > since others base their own Xen patchsets on it still (e.g., for dom0 > > support). > > Ah thanks! Perhaps we can talk Joe into snipping the bio_alloc() changes > out of his patch #2 - Joe, just the bio_alloc() and submit_bio() stuff, > you don't have to include the bio_set changes. > Thanks, will get rid of it. Joe