linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Aneesh Kumar K. V" <aneesh.kumar@linux.vnet.ibm.com>
To: "Gaëtan Podevijn" <gpodevij@gmail.com>, linux-ext4@vger.kernel.org
Subject: Re: Ext2 and ext4 preallocation / mballoc
Date: Sat, 06 Mar 2010 20:15:20 +0530	[thread overview]
Message-ID: <87ocj1se4f.fsf@linux.vnet.ibm.com> (raw)
In-Reply-To: <dda2e1011002170746x6cad8cekee6dcb7079002e10@mail.gmail.com>

On Wed, 17 Feb 2010 16:46:19 +0100, Gaëtan Podevijn <gpodevij@gmail.com> wrote:
> Hello,
> 
> Reading this http://web.mit.edu/tytso/www/linux/ext2intro.html I
> understand that ext2 preallocates 8 blocks when a writing data to a
> file. Ext3 uses the windows reservations method, but is that ext3 also
> preallocates 8 blocks when writing data ?
> 
> Moreover, this page
> http://kernelnewbies.org/Ext4#head-b2148d2a96d22a1bd7e376e6c08e4a38d08fb157
> explains that ext3 allocates one block at a time and ext4 uses
> multiblock allocation that is, allocates many block in a single system
> call.
> 
> What is the difference between preallocation on ext2 (and ext3 ?) and mballoc ?
> 
> 


You can find mballoc details at 

http://ols.fedoraproject.org/OLS/Reprints-2008/kumar-reprint.pdf

-aneesh
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2010-03-06 14:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-17 15:46 Ext2 and ext4 preallocation / mballoc Gaëtan Podevijn
2010-03-06 14:45 ` Aneesh Kumar K. V [this message]

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=87ocj1se4f.fsf@linux.vnet.ibm.com \
    --to=aneesh.kumar@linux.vnet.ibm.com \
    --cc=gpodevij@gmail.com \
    --cc=linux-ext4@vger.kernel.org \
    /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).