[U-Boot] [PATCH 4/6] jffs2: add buffer to cache flash accesses
Wolfgang Denk
wd at denx.de
Tue Dec 9 23:41:09 CET 2008
Dear Ilya Yanok,
In message <1226594976-6087-5-git-send-email-yanok at emcraft.com> you wrote:
> 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 at emcraft.com>
> Signed-off-by: Ilya Yanok <yanok at emcraft.com>
> ---
> fs/jffs2/jffs2_1pass.c | 116 ++++++++++++++++++++++++++++-----------------
> fs/jffs2/jffs2_private.h | 2 +-
> 2 files changed, 73 insertions(+), 45 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The Gates in my computer are AND, OR and NOT; they are not Bill.
More information about the U-Boot
mailing list