[PATCH] jffs2: Add lzma compression

Nikos Mavrogiannopoulos nmav at gnutls.org
Mon Jun 9 12:45:47 EDT 2008


Hello,
 This patch adds Lzma support to mkfs.jffs2 using the 7z 4.58 ansi C
encoder/decoder. The compression optimization in a typical system was
about 10% less than zlib. I've kept the original Lzma code intact so
that it can be easily updated to latest versions of the lzma sdk. The
lzma code worked perfectly well both in kernel and user space.

The compr_lzma.c attached is the file used by linux kernel to read data
(only changes includes).

regards,
Nikos


-------------- next part --------------
A non-text attachment was scrubbed...
Name: lzma.patch.gz
Type: application/x-gzip
Size: 29947 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20080609/0ea0c9dc/attachment-0002.gz 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compr_lzma-kernel.c.gz
Type: application/x-gzip
Size: 1362 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20080609/0ea0c9dc/attachment-0003.gz 


More information about the linux-mtd mailing list