u-boot/fs
Ilya Yanok 142a80ffc3 jffs2: cache data_crc results
As we moved data_crc() invocation from jffs2_1pass_build_lists() to
jffs2_1pass_read_inode() data_crc is going to be calculated on each
inode access. This patch adds caching of data_crc() results. There
is no significant improvement in speed (because of flash access
caching added in previous patch I think, crc in RAM is really fast)
but this patch impacts memory usage -- every b_node structure uses
12 bytes instead of 8.

Signed-off-by: Alexey Neyman <avn@emcraft.com>
Signed-off-by: Ilya Yanok <yanok@emcraft.com>
2008-12-09 23:40:01 +01:00
..
cramfs fs: Move conditional compilation to Makefile 2008-08-31 04:24:56 +02:00
ext2 fs: Move conditional compilation to Makefile 2008-08-31 04:24:56 +02:00
fat Remove non-ascii characters from fat code 2008-12-04 20:51:44 +01:00
fdos fs: Move conditional compilation to Makefile 2008-08-31 04:24:56 +02:00
jffs2 jffs2: cache data_crc results 2008-12-09 23:40:01 +01:00
reiserfs fs: Move conditional compilation to Makefile 2008-08-31 04:24:56 +02:00
yaffs2 Make the YAFFS filesystem work 2008-08-21 14:05:33 -05:00
Makefile fs: Move conditional compilation to Makefile 2008-08-31 04:24:56 +02:00