mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Andreas Dilger <adilger@clusterfs.com>
Cc: sho@tnes.nec.co.jp, ext2-devel@lists.sourceforge.net,
	linux-kernel@vger.kernel.org
Subject: Re: [Ext2-devel] [PATCH] ext3: Extends blocksize up to pagesize
Date: Fri, 20 Jan 2006 23:10:16 -0800	[thread overview]
Message-ID: <20060120231016.40b40fd7.akpm@osdl.org> (raw)
In-Reply-To: <20060118185249.GN4124@schatzie.adilger.int>

Andreas Dilger <adilger@clusterfs.com> wrote:
>
> On Jan 18, 2006  22:06 +0900, Takashi Sato wrote:
> > As a disk tends to get large, a disk storage has had a capacity to
> > supply multi-TB.  But now, ext3 can't support more than 8TB filesystem
> > when blocksize is 4KB.  That's why I think ext3 needs to be
> > more than 8TB.
> > 
> > Therefore I think filesystem size can increase on architectures
> > which has more than 4KB pagesize by extending blocksize to pagesize on
> > ext3.  For example, the following is in case of ia64.  (Blocksize have
> > already been supported up to pagesize on ext2. Why is the max blocksize
> > restricted to 4KB on ext3?)
> > 
> > Max filesystem size on ia64:
> > Original                                   :4096(blocksize) * 2^31 =  8TB
> > After modification [pagesize=16KB(default)]:16384(blocksize) * 2^31 = 32TB
> > After modification [pagesize=64KB(max)]    :65536(blocksize) * 2^31 = 128TB
> 
> Just for others' info - the fill_super change has been tested in the past
> by Sonny Rao at IBM also.  e2fsprogs has supported this for a long time
> already.

I have a vague memory that there's some piece of metadata (per-block-group
info, I think) which will overflow at 8kb blocksize.  I say this in the
hope that you'll remmeber what it was ;)


> > - ext3_readdir
> >   Currently read-ahead 16 sectors when reading a directory, but not
> >   if blocksize is more than 8KB.  Then I modified to read-ahead
> >   one fs-block if blocksize is more than 8KB.

I've rewritten ext3 directory readahead to use the generic pagecache
functions, so changes here shouldn't be needed.

But I haven't yet got around to performance-testing it.

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc1/2.6.16-rc1-mm2/broken-out/ext3_readdir-use-generic-readahead.patch

  reply	other threads:[~2006-01-21  7:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-18 13:06 Takashi Sato
2006-01-18 15:48 ` John Stoffel
2006-01-22 18:28   ` Theodore Ts'o
2006-01-23  5:43     ` [Ext2-devel] " Andreas Dilger
2006-01-23 20:36       ` Folkert van Heusden
2006-01-23  8:30   ` Helge Hafting
2006-01-18 18:52 ` [Ext2-devel] " Andreas Dilger
2006-01-21  7:10   ` Andrew Morton [this message]
2006-01-22 18:31     ` Theodore Ts'o
2006-01-23  5:38     ` Andreas Dilger

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=20060120231016.40b40fd7.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=adilger@clusterfs.com \
    --cc=ext2-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sho@tnes.nec.co.jp \
    /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

all inboxes | Powered by JetHome®