Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Sep 2009 09:44:02 GMT
From:      Aditya Sarawgi <truncs@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 168877 for review
Message-ID:  <200909250944.n8P9i2bM091000@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=168877

Change 168877 by truncs@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
  */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909250944.n8P9i2bM091000>