13 Aug, 2015

1 commit

  • When building the file system the existing code does an insertion into
    a linked list. It attempts to speed this up by keeping a pointer to
    where the last entry was inserted but it's still slow.

    Now the nodes are just inserted into the list without searching
    through for the correct place. This unsorted list is then sorted once
    using mergesort after all the entries have been added to the list.
    This speeds up the scanning of the flash file system considerably.

    Signed-off-by: Mark Tomlinson

    Mark Tomlinson
     

10 Dec, 2008

2 commits

  • 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
    Signed-off-by: Ilya Yanok

    Ilya Yanok
     
  • 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
    Signed-off-by: Ilya Yanok

    Ilya Yanok
     

19 Oct, 2008

1 commit


17 Mar, 2006

1 commit


12 Mar, 2006

1 commit


08 Aug, 2005

1 commit


28 Jun, 2003

1 commit

  • - remove trailing white space, trailing empty lines, C++ comments, etc.
    - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)

    * Patches by Kenneth Johansson, 25 Jun 2003:
    - major rework of command structure
    (work done mostly by Michal Cendrowski and Joakim Kristiansen)

    wdenk
     

15 Mar, 2003

1 commit

  • the HSYNC/VSYNC. Requires new CPLD code (Version 101 for Rev. 100
    boards, version 153 for Rev. 200 boards).

    * Patch by Vladimir Gurevich, 12 Mar 2003:
    Fix relocation problem of statically initialized string pointers
    in common/cmd_pci.c

    * Patch by Kai-Uwe Blöm, 12 Mar 2003:
    Cleanup & bug fixes for JFFS2 code:
    - the memory mangement was broken. It caused havoc on malloc by
    writing beyond the block boundaries.
    - the length calculation for files was wrong, sometimes resulting
    in short file reads.
    - data copying now optionally takes fragment version numbers into
    account, to avoid copying from older data.
    See doc/README.JFFS2 for details.

    wdenk
     

18 Feb, 2002

1 commit