linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Suparna Bhattacharya <suparna@in.ibm.com>
To: Mingming Cao <cmm@us.ibm.com>
Cc: Badari Pulavarty <pbadari@us.ibm.com>,
	Andrew Morton <akpm@osdl.org>,
	"Stephen C. Tweedie" <sct@redhat.com>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	ext2-devel <ext2-devel@lists.sourceforge.net>,
	linux-fsdevel@vger.kernel.org
Subject: Re: [Ext2-devel] [RFC] Adding multiple block allocation
Date: Mon, 2 May 2005 10:16:27 +0530	[thread overview]
Message-ID: <20050502044627.GA4654@in.ibm.com> (raw)
In-Reply-To: <1114884473.13725.6.camel@localhost.localdomain>

On Sat, Apr 30, 2005 at 11:07:53AM -0700, Mingming Cao wrote:
> On Sat, 2005-04-30 at 22:41 +0530, Suparna Bhattacharya wrote:
> > On Sat, Apr 30, 2005 at 09:40:43PM +0530, Suparna Bhattacharya wrote:
> > > On Fri, Apr 29, 2005 at 04:22:59PM -0700, Mingming Cao wrote:
> > > > On Fri, 2005-04-29 at 11:45 -0700, Badari Pulavarty wrote:
> > > > > I touch tested your patch earlier and seems to work fine. Lets integrate
> > > > > Mingming's getblocks() patches with this and see if we get any benifit
> > > > > from the whole effort.
> > > > > 
> > > > 
> > > > I tried Suparna's mpage_writepages_getblocks patch with my
> > > > ext3_get_blocks patch, seems to work fine,  except that still only one
> > > > block is allocated at a time. I got a little confused.... 
> > > > 
> > > > I did not see any delayed allocation code in your patch, I assume you
> > > > have to update ext3_prepare_write to not call ext3_get_block, so that
> > > > block allocation will be defered at ext3_writepages time. So without the
> > > > delayed allocation part, the get_blocks in mpage_writepages is doing
> > > > multiple blocks look up only, right?
> > > 
> > > That's right - so you could try it with mmapped writes (which don't
> > > go through a prepare write) or with Badari's patch to not call
> > > ext3_get_block in prepare write.
> > 
> > BTW, I hope you are running with NOBH.
> 
> No, it was not run with NOBH. Why we need to turn on nobh here?

If the page has buffers, then get_blocks won't be invoked -- it either
finds all the buffers in a page to be mapped contiguous, in which case
it can directly issue the IO or enters the confused case where it goes
through block_write_full_page.

> 
> There are some issue running fsx tests with both patches, w/o direct io
> option. I will spend more time on this next week.

OK, I can take a look at the fsx logs, just in case it is similar to
something I've seen before.

Regards
Suparna

-- 
Suparna Bhattacharya (suparna@in.ibm.com)
Linux Technology Center
IBM Software Lab, India


  reply	other threads:[~2005-05-02  4:37 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1113220089.2164.52.camel@sisko.sctweedie.blueyonder.co.uk>
     [not found] ` <1113244710.4413.38.camel@localhost.localdomain>
     [not found]   ` <1113249435.2164.198.camel@sisko.sctweedie.blueyonder.co.uk>
     [not found]     ` <1113288087.4319.49.camel@localhost.localdomain>
     [not found]       ` <1113304715.2404.39.camel@sisko.sctweedie.blueyonder.co.uk>
     [not found]         ` <1113348434.4125.54.camel@dyn318043bld.beaverton.ibm.com>
     [not found]           ` <1113388142.3019.12.camel@sisko.sctweedie.blueyonder.co.uk>
     [not found]             ` <1114207837.7339.50.camel@localhost.localdomain>
     [not found]               ` <1114659912.16933.5.camel@mindpipe>
     [not found]                 ` <1114715665.18996.29.camel@localhost.localdomain>
2005-04-29 13:52                   ` [Ext2-devel] [RFC] Adding multiple block allocation Suparna Bhattacharya
2005-04-29 17:10                     ` Mingming Cao
2005-04-29 19:42                       ` Mingming Cao
2005-04-29 20:57                         ` Andrew Morton
2005-04-29 21:12                           ` Mingming Cao
2005-04-29 21:34                             ` Andrew Morton
2005-04-30 16:00                       ` [Ext2-devel] " Suparna Bhattacharya
2005-04-29 18:45                     ` Badari Pulavarty
2005-04-29 23:22                       ` Mingming Cao
2005-04-30 16:10                         ` Suparna Bhattacharya
2005-04-30 17:11                           ` [Ext2-devel] " Suparna Bhattacharya
2005-04-30 18:07                             ` Mingming Cao
2005-05-02  4:46                               ` Suparna Bhattacharya [this message]
2005-04-30 16:52                       ` Suparna Bhattacharya
2005-04-30  0:33                     ` Mingming Cao
2005-04-30  0:44                     ` Mingming Cao
2005-04-30 17:03                       ` [Ext2-devel] " Suparna Bhattacharya

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050502044627.GA4654@in.ibm.com \
    --to=suparna@in.ibm.com \
    --cc=akpm@osdl.org \
    --cc=cmm@us.ibm.com \
    --cc=ext2-devel@lists.sourceforge.net \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pbadari@us.ibm.com \
    --cc=sct@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).