mtd/include/linux jffs2_fs_sb.h,1.33,1.34

David Woodhouse dwmw2 at infradead.org
Mon Sep 9 12:29:10 EDT 2002


Update of /home/cvs/mtd/include/linux
In directory phoenix.infradead.org:/tmp/cvs-serv25358/include/linux

Modified Files:
	jffs2_fs_sb.h 
Log Message:
Wheee. Late checking of CRC makes the mount time somewhat better. We can improve this
but it's OK as a proof-of-concept.

Some benchmark times on recent code changes with a 14M mtdram device (hence not a great
deal of improvement from point code):

point, list code  0.291s
read,  list code  0.299s
point, tree code  0.282s
read,  tree code  0.292s
point, tree, no data crc 0.123s
point, tree, no inode crc 0.112s
point, tree, scan just-in-time 0.080s
point, tree, scan just-in-time, D1(PARANOIA), 0.050s


Index: jffs2_fs_sb.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/jffs2_fs_sb.h,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- jffs2_fs_sb.h	20 Aug 2002 15:41:29 -0000	1.33
+++ jffs2_fs_sb.h	9 Sep 2002 16:29:07 -0000	1.34
@@ -21,6 +21,8 @@
 	struct mtd_info *mtd;
 
 	uint32_t highest_ino;
+	uint32_t checked_ino;
+
 	unsigned int flags;
 
 	struct task_struct *gc_task;	/* GC task struct */
@@ -43,6 +45,7 @@
 	uint32_t erasing_size;
 	uint32_t bad_size;
 	uint32_t sector_size;
+	uint32_t unchecked_size;
 
 	uint32_t nr_free_blocks;
 	uint32_t nr_erasing_blocks;





More information about the linux-mtd-cvs mailing list