Re: [U-Boot] [PATCH] jffs2: cache data_crc results

2008-10-14 Thread Michael Lawnick
Ilya Yanok said the following: 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

[U-Boot] [PATCH] jffs2: cache data_crc results

2008-10-13 Thread Ilya Yanok
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