[PATCH] Doc fix: ext2 can only have 32,000 subdirs, not 32,768.

From: Michael Shields
Date: Mon May 18 2009 - 15:14:08 EST


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-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/