PERFORCE change 168877 for review
Aditya Sarawgi
truncs at FreeBSD.org
Fri Sep 25 09:44:02 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=168877
Change 168877 by truncs at aditya on 2009/09/25 09:43:05
Make the comment more verbose. Explain about AFPDIR and AVGDIRSIZE.
Affected files ...
.. //depot/projects/soc2009/soc_ext2fs/src/sys/fs/ext2fs/fs.h#3 edit
Differences ...
==== //depot/projects/soc2009/soc_ext2fs/src/sys/fs/ext2fs/fs.h#3 (text+ko) ====
@@ -57,10 +57,15 @@
/*
* The path name on which the file system is mounted is maintained
* in fs_fsmnt. MAXMNTLEN defines the amount of space allocated in
- * the super block for this name.
+ * the super block for this name. AVFPDIR is the expected number of
+ * files per directory. AVGDIRSIZE is obtained by multiplying AVFPDIR
+ * and AVFILESIZ which is assumed to be 16384. Both AVFPDIR and AVFFIZSIZ
+ * are taken from UFS and they are used in implementation of Orlov Block
+ * Allocator.
*/
-#define MAXMNTLEN 512
-
+#define MAXMNTLEN 512
+#define AFPDIR 64
+#define AVGDIRSIZE 1048576
/*
* Macros for access to superblock array structures
*/
More information about the p4-projects
mailing list