commit | e7fd671fa0c1290a98ea8dcd33ce6fbc7c0a8644 | [log] [tgz] |
---|---|---|
author | Ilya Yanok <yanok@emcraft.com> | Thu Nov 13 19:49:34 2008 +0300 |
committer | Wolfgang Denk <wd@denx.de> | Tue Dec 09 23:39:58 2008 +0100 |
tree | 199ba539db02063b1409a56d81e75381650399b5 | |
parent | ddb02692cca53711db2dac350592ebb4a486a653 [diff] |
jffs2: add buffer to cache flash accesses With this patch JFFS2 code allocates memory buffer of max_totlen size (size of the largest node, calculated during scan time) and uses it to store entire node. Speeds up loading. If malloc fails we use old ways to do things. Signed-off-by: Alexey Neyman <avn@emcraft.com> Signed-off-by: Ilya Yanok <yanok@emcraft.com>