mtd/fs/jffs2/ecos/cdl jffs2.cdl,1.6,1.7

David Woodhouse dwmw2 at infradead.org
Mon Nov 24 08:54:19 EST 2003


Update of /home/cvs/mtd/fs/jffs2/ecos/cdl
In directory phoenix.infradead.org:/tmp/cvs-serv1234/cdl

Modified Files:
	jffs2.cdl 
Log Message:
Merge raw_node_ref pool patch

Index: jffs2.cdl
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/ecos/cdl/jffs2.cdl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- jffs2.cdl	20 Nov 2003 16:41:57 -0000	1.6
+++ jffs2.cdl	24 Nov 2003 13:54:17 -0000	1.7
@@ -58,7 +58,6 @@
 
     requires       CYGPKG_IO_FILEIO
     requires       CYGPKG_IO_FLASH
-    requires       CYGPKG_COMPRESS_ZLIB
     requires       CYGINT_ISO_MALLOC
 
     requires       CYGPKG_ISOINFRA
@@ -146,6 +145,21 @@
             Use the rubin algorithm for compression of data. This 
             simple algorithm is faster than zlib but not quite as
             effective."
+    }
+
+    cdl_option CYGNUM_FS_JFFS2_RAW_NODE_REF_CACHE_POOL_SIZE {
+        display         "Memory pool size"
+        flavor          data
+        default_value   0
+        description     "
+            In order to manage data stored in flash, the file system
+            needs to use data structures (jffs2_raw_node_ref) allocated
+            in RAM. You can specify here the maximum number of such
+            structures you expect to be used, which will then be allocated
+            statically. If this option is set to 0, the structures will
+            be allocated dynamically via malloc(), which may incur some
+            memory overhead depending on the particular malloc()
+            implementation used."
     }
 
     cdl_option CYGPKG_FS_JFFS2_CFLAGS_ADD {




More information about the linux-mtd-cvs mailing list