linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Pavel Machek <pavel@ucw.cz>
Cc: Michael Shields <mshields@google.com>,
	rdunlap@xenotime.net, linux-ext4@vger.kernel.org,
	linux-kernel@vger.kernel.org, trivial@kernel.org
Subject: Re: [PATCH] Doc fix: ext2 can only have 32,000 subdirs, not 32,768.
Date: Sat, 30 May 2009 17:13:26 -0700	[thread overview]
Message-ID: <20090530171326.1381aa2d.akpm@linux-foundation.org> (raw)
In-Reply-To: <20090530113724.GA1444@ucw.cz>

On Sat, 30 May 2009 13:37:24 +0200 Pavel Machek <pavel@ucw.cz> wrote:

> On Wed 2009-05-27 17:20:45, Andrew Morton wrote:
> > On Mon, 18 May 2009 12:13:51 -0700
> > Michael Shields <mshields@google.com> wrote:
> > 
> > > ext2.txt says that dirs can have 32,768 subdirs, but the actual value
> > > of EXT2_LINK_MAX is 32000.
> > > ext3 is the same, but the doc does not mention it. __One of ext4's
> > > features is to "fix 32000 subdirectory limit".
> > > 
> > > --- linux-2.6.29.3/Documentation/filesystems/ext2.txt.orig 2009-05-08
> > > 15:47:21.000000000 -0700
> > > +++ linux-2.6.29.3/Documentation/filesystems/ext2.txt 2009-05-18
> > > 12:03:58.000000000 -0700
> > > @@ -322,7 +322,7 @@ an upper limit on the block size imposed
> > > __so 8kB blocks are only allowed on Alpha systems (and other architectures
> > > __which support larger pages).
> > > 
> > > -There is an upper limit of 32768 subdirectories in a single directory.
> > > +There is an upper limit of 32000 subdirectories in a single directory.
> > > 
> > > __There is a "soft" upper limit of about 10-15k files in a single directory
> > > __with the current linear linked-list directory implementation. __This limit
> > > --
> 
> Maybe it would be better to increase EXT2_LINK_MAX to fit the docs?
> 

Could be.  afacit filesystems which are created under such a driver
will still mount and work OK with older drivers.

I have this vague memory that there was a reason for the 32000 thing.


  reply	other threads:[~2009-05-31  0:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-18 19:13 [PATCH] Doc fix: ext2 can only have 32,000 subdirs, not 32,768 Michael Shields
2009-05-28  0:20 ` Andrew Morton
2009-05-30 11:37   ` Pavel Machek
2009-05-31  0:13     ` Andrew Morton [this message]
     [not found] <63a2e74f0905181210i17640dd9ld2d5219f6bdd79b9@mail.gmail.com>
2009-05-27 15:27 ` Jiri Kosina

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=20090530171326.1381aa2d.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=linux-ext4@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mshields@google.com \
    --cc=pavel@ucw.cz \
    --cc=rdunlap@xenotime.net \
    --cc=trivial@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).