Re: Reg-directory size
Daniel Phillips (firstname.lastname@example.org)
Thu, 14 Jun 2001 10:53:19 +0200
On Thursday 14 June 2001 09:52, SATHISH.J wrote:
> When we create lot of files and directories under a directory the size of
> the directory changes after aparticular limit. I could find that if the
> size of directory is 4096 it can create 341 files(size of qstr structure
> for each file is 12 bytes,so 4096/12=341.xx) before it changes to 8192.
> Please tell me where in the code does this directory size changes. Is it
> in VFS level or in the file system level? Please tell me this which would
> be of great use to me.
Filesystem. Look in fs/ext2/dir.c and namei.c for typical examples.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/