linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Badari Pulavarty <pbadari@us.ibm.com>
To: Andrew Morton <akpm@osdl.org>
Cc: Arjan van de Ven <arjan@infradead.org>,
	sct@redhat.com, jack@suse.cz, linux-fsdevel@vger.kernel.org,
	linux-kernel@vger.kernel.org, Ext2-devel@lists.sourceforge.net
Subject: Re: [RFC PATCH] ext3 writepage() journal avoidance
Date: Fri, 10 Mar 2006 06:58:05 -0800	[thread overview]
Message-ID: <441193FD.50901@us.ibm.com> (raw)
In-Reply-To: 20060310005306.428b13ee.akpm@osdl.org

Andrew Morton wrote:

>Arjan van de Ven <arjan@infradead.org> wrote:
>
>>On Fri, 2006-03-10 at 00:23 -0800, Andrew Morton wrote:
>> > Arjan van de Ven <arjan@infradead.org> wrote:
>> > >
>> > > 
>> > > > I'm not sure that PageMappedToDisk() gets set in all the right places
>> > > > though - it's mainly for the `nobh' handling and block_prepare_write()
>> > > > would need to be taught to set it.  I guess that'd be a net win, even if
>> > > > only ext3 uses it..
>> > > 
>> > > btw is nobh mature enough yet to become the default, or to just go away
>> > > entirely as option ?
>> > 
>> > I don't know how much usage it's had, sorry.  It's only allowed in
>> > data=writeback mode and not many people seem to use even that.
>>
>> would you be prepared to turn it on by default in -mm for a bit to see
>> how it holds up?
>>
>
>spose so.  One would have to test it a bit first, make sure that it still
>works.  Performance testing with PAGE_SIZE much-greater-than blocksize
>would be needed.
>
I did nobh option only for writeback mode + only if PAGE_SIZE == 
blocksize case :(
I guess I could enhance it for PAGE_SIZE > blocksize case also.

Doing it for ordered mode, journal mode is hard - due to transactions & 
ordering.
As you suggested while ago, we need a new mode. I hate to add new modes 
since
no one will be using it (unless we decide to make it default). Thats the 
reason why
I spent little time doing nobh option for writeback mode.

>
>Unfortunately there's no `-o bh' (nonobh?) to turn it back on again if it
>causes problems..
>

Can be added easily. I will send out a patch for this.

Thanks,
Badari

>




  reply	other threads:[~2006-03-10 14:59 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-09 18:39 [RFC PATCH] ext3 writepage() journal avoidance Badari Pulavarty
2006-03-09 23:22 ` Andrew Morton
2006-03-10  0:45   ` Badari Pulavarty
2006-03-10  1:16     ` Andrew Morton
2006-03-10  7:59   ` Arjan van de Ven
2006-03-10  8:23     ` Andrew Morton
2006-03-10  8:43       ` Arjan van de Ven
2006-03-10  8:53         ` Andrew Morton
2006-03-10 14:58           ` Badari Pulavarty [this message]
2006-03-10 16:19         ` Dave Jones
2006-03-10 16:40           ` Badari Pulavarty
2006-03-10 16:51             ` Dave Jones
2006-03-10 17:00               ` Badari Pulavarty
2006-03-10 16:46           ` Badari Pulavarty
2006-03-10 13:43       ` Dave Kleikamp

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=441193FD.50901@us.ibm.com \
    --to=pbadari@us.ibm.com \
    --cc=Ext2-devel@lists.sourceforge.net \
    --cc=akpm@osdl.org \
    --cc=arjan@infradead.org \
    --cc=jack@suse.cz \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --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).