jffs2_scan_eraseblock() - errors
David Woodhouse
dwmw2 at infradead.org
Tue Jul 30 23:07:45 EDT 2002
Allen.Curtis at Thales-IFS.com said:
> INOCACHE_HASHSIZE was set to 1. Changed this to 128 and....
> real 47.258s sys 47.25s
Hmm. Out of interest, What happens if you apply this? Again, profile data
are useful :)
DO NOT LEAVE THIS IN. It disables the CRC32 check on nodes during mount.
It's the first (and easy) part of the proof-of-concept which involves
moving said CRC32 check to later so the mount doesn't have to wait for it.
Index: scan.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/scan.c,v
retrieving revision 1.51.2.3
diff -u -p -r1.51.2.3 scan.c
--- scan.c 25 Jul 2002 20:49:06 -0000 1.51.2.3
+++ scan.c 31 Jul 2002 03:06:44 -0000
@@ -467,7 +467,7 @@ static int jffs2_scan_inode_node(struct
ri.csize = 0;
}
- if (ri.csize) {
+ if (0 && ri.csize) {
/* Check data CRC too */
unsigned char *dbuf;
__u32 crc;
--
dwmw2
More information about the linux-mtd
mailing list