From mboxrd@z Thu Jan 1 00:00:00 1970 From: Badari Pulavarty Subject: Re: Delayed alloc for ordered-mode Date: Sun, 13 Mar 2005 11:32:24 -0800 Message-ID: <42349548.2030209@us.ibm.com> References: <20050303083349.GA4896@in.ibm.com> <1109898734.4961.11.camel@dyn318077bld.beaverton.ibm.com> <20050304180235.0a8ff966.alex@clusterfs.com> <20050313144117.GA4471@in.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Alex Tomas , sct@redhat.com, akpm@osdl.org, linux-fsdevel@vger.kernel.org Received: from e33.co.us.ibm.com ([32.97.110.131]:2487 "EHLO e33.co.us.ibm.com") by vger.kernel.org with ESMTP id S261428AbVCMTc0 (ORCPT ); Sun, 13 Mar 2005 14:32:26 -0500 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e33.co.us.ibm.com (8.12.10/8.12.9) with ESMTP id j2DJWP4I547018 for ; Sun, 13 Mar 2005 14:32:25 -0500 Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by d03relay04.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j2DJWOqr183688 for ; Sun, 13 Mar 2005 12:32:24 -0700 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j2DJWNRp024189 for ; Sun, 13 Mar 2005 12:32:24 -0700 To: suparna@in.ibm.com In-Reply-To: <20050313144117.GA4471@in.ibm.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org I think adding support to JBD to deal with "bio"s would be a valuable generic extention. Anyway its dealing with "bh"s now. Thanks, Badari Suparna Bhattacharya wrote: > What would be really nice is if we could do this in a way that > enables reuse of generic paths even for ordered mode. One thought > that comes to mind is journal commit waiting for writeback to > complete on the data pages which need to be flushed to disk before > meta-data can be committed, much like we do for O_SYNC. > > I realise that JBD is intended to work at a level of abstraction > where it has no awareness of filesystems - hence the correspondence > with buffer heads all through. So would the above be a complete > no-no ? > > Regards > Suparna > > On Fri, Mar 04, 2005 at 06:02:35PM +0300, Alex Tomas wrote: > >>On 03 Mar 2005 17:12:14 -0800 >>Badari Pulavarty wrote: >> >> >>>One more thing, we need to keep in mind is - we need to make sure >>>that "ordered" mode also improved - since all our testcode >>>focuses on "writeback" mode and the default mode is "ordered" :( >>> >> >>I've just cooked the patch to implement ordered mode for delayed >>allocation path. please take it: >> >>ftp://ftp.clusterfs.com/pub/people/alex/2.6.11/ext3-delalloc-ordered-2.6.11-0.1.patch >> >>Stephen, Andrew could you review it, please? >> >>thanks, Alex