linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Doc fix: ext2 can only have 32,000 subdirs, not 32,768.
@ 2009-05-18 19:13 Michael Shields
  2009-05-28  0:20 ` Andrew Morton
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Shields @ 2009-05-18 19:13 UTC (permalink / raw)
  To: rdunlap, linux-ext4; +Cc: linux-kernel, trivial

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
--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Doc fix: ext2 can only have 32,000 subdirs, not 32,768.
       [not found] <63a2e74f0905181210i17640dd9ld2d5219f6bdd79b9@mail.gmail.com>
@ 2009-05-27 15:27 ` Jiri Kosina
  0 siblings, 0 replies; 5+ messages in thread
From: Jiri Kosina @ 2009-05-27 15:27 UTC (permalink / raw)
  To: Michael Shields; +Cc: rdunlap, linux-ext4, linux-kernel, trivial

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1152 bytes --]

On Mon, 18 May 2009, Michael Shields 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

I don't see this in linux-next. Could please either someone from ext[234] 
folks either merge it, or send me an Acked-by: and I will take it through 
trivial tree.

Thanks,

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Doc fix: ext2 can only have 32,000 subdirs, not 32,768.
  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
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Morton @ 2009-05-28  0:20 UTC (permalink / raw)
  To: Michael Shields; +Cc: rdunlap, linux-ext4, linux-kernel, trivial

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
> --

The patch is wordwrapped and has weird non-ascii characters in the
changelog text.  I fixed all that up.  Please fix your email client for
future patches.

Please include a Signed-off-by:, as described in
Documentation/SubmittingPatches, thanks.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Doc fix: ext2 can only have 32,000 subdirs, not 32,768.
  2009-05-28  0:20 ` Andrew Morton
@ 2009-05-30 11:37   ` Pavel Machek
  2009-05-31  0:13     ` Andrew Morton
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Machek @ 2009-05-30 11:37 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Michael Shields, rdunlap, linux-ext4, linux-kernel, trivial

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?

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Doc fix: ext2 can only have 32,000 subdirs, not 32,768.
  2009-05-30 11:37   ` Pavel Machek
@ 2009-05-31  0:13     ` Andrew Morton
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Morton @ 2009-05-31  0:13 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Michael Shields, rdunlap, linux-ext4, linux-kernel, trivial

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-05-31  0:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
     [not found] <63a2e74f0905181210i17640dd9ld2d5219f6bdd79b9@mail.gmail.com>
2009-05-27 15:27 ` Jiri Kosina

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).