lkml.org 
[lkml]   [2001]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Reg-directory size
Date
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/

\
 
 \ /
  Last update: 2005-03-22 12:55    [W:0.085 / U:1.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site