Re: [Patch 6/13] Allow more than 32000 subdirectories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Aug 04, 2007  09:51 -0400, Theodore Tso wrote:
> On Tue, Jul 24, 2007 at 04:34:56PM +0530, Girish Shilamkar wrote:
> > This patch includes the changes required to e2fsck to understand the 
> > nlink count changes made in the kernel. In pass2, while counting the 
> > links for a directory, if the link count exceeds 65000, its permanently 
> > set to EXT2_NLINK_MAXED (EXT2_LINK_MAX + 100). In pass4, when the 
> > counted and actual nlink counts are compared, e2fsck does not flag 
> > an error if counted links = EXT2_NLINK_MAXED and existing link count is 1. 
> 
> Has this actually been implemented in the kernel?  I don't think I've
> seen a patch which implements the a large number file links.  The
> 65000 subdir patch does *not* define EXT2_NLINK_MAXED, nor does this
> patch.   And this patch seems to use EXT2_LINK_MAX + 10, not +100.

I haven't tested hard-linked files myself, but they should remain with
a limit of EXT2_LINK_MAX.  It is only for directories that the link
count can be exceeded.  We have definitely tested with > 65000 subdirs.

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.

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

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux