Skip to content

Add LZO Compression

Richard Purdie linux-crypto linux-mtd lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Add LZO compression support to the kernel+0 -00 replies
2/5jffs2: Add LZO compression support to jffs2fs/Kconfig fs/jffs2/Makefile fs/jffs2/compr.c +3 more+140 -11 reply
3/5crypto: Add LZO compression support to the crypto interfacecrypto/Kconfig crypto/Makefile crypto/lzo.c +2 more+190 -570 replies
4/5jffs2: Add a "favourlzo" compression mode to jffs2fs/Kconfig fs/jffs2/compr.c fs/jffs2/compr.h+56 -50 replies
5/5jffs2: Allow selection of compression mode via a sysfs attributefs/jffs2/compr.c+94 -373 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Add LZO Compression

The following patch series adds LZO compression support to the kernel and exposes it in a variety of places (jffs2, crypto).

This is particularly useful for jffs2 where significant boot time speedups (~10%) and file read speed improvements (~40%) are seen when its used with only a slight drop in file compression ratio.

It also adds a favourlzo mode to jffs2 which is similar to the existing size mode but lets lzo compression win if the lzo compressed size is "similar" to but not the best compression ratio. This means we can keep zlib compression where it makes a significant difference to compressed file size.

The final jffs2 patch which starts adding sysfs support is something I have around from testing and I'm including it for comments to see if its desirable upstream. It could be extended further to allow greater control of jffs2 at runtime.

Richard

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/