Re: Reg-directory size

Daniel Phillips (phillips@bonn-fries.net)
Thu, 14 Jun 2001 10:53:19 +0200


On Thursday 14 June 2001 09:52, SATHISH.J wrote:
> Hi,
> 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.

--
Daniel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/