Skip to content
Snippets Groups Projects
Commit 70741004 authored by Ilya Yanok's avatar Ilya Yanok Committed by Wolfgang Denk
Browse files

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: default avatarAlexey Neyman <avn@emcraft.com>
Signed-off-by: default avatarIlya Yanok <yanok@emcraft.com>
parent 8a36d31f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment