• Ferenc Havasi's avatar
    [JFFS2] Add erase block summary support (mount time improvement) · e631ddba
    Ferenc Havasi authored
    
    
    The goal of summary is to speed up the mount time. Erase block summary (EBS)
    stores summary information at the end of every (closed) erase block. It is
    no longer necessary to scan all nodes separetly (and read all pages of them)
    just read this "small" summary, where every information is stored which is
    needed at mount time.
    
    This summary information is stored in a JFFS2_FEATURE_RWCOMPAT_DELETE. During
    the mount process if there is no summary info the orignal scan process will
    be executed. EBS works with NAND and NOR flashes, too.
    
    There is a user space tool called sumtool to generate this summary
    information for a JFFS2 image.
    Signed-off-by: default avatarFerenc Havasi <havasi@inf.u-szeged.hu>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    e631ddba