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 7 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+134 -13 replies
3/5jffs2: Add a "favourlzo" compression mode to jffs2fs/Kconfig fs/jffs2/compr.c fs/jffs2/compr.h+50 -51 reply
4/5jffs2: Allow selection of compression mode via a sysfs attributefs/Kconfig fs/jffs2/compr.c fs/jffs2/compr.h +1 more+117 -01 reply
5/5crypto: Add LZO compression support to the crypto interfacecrypto/Kconfig crypto/Makefile crypto/crypto_lzo.c +2 more+193 -572 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).

Its a resend of a previous posted series, rediffed against recent kernels with the couple of minors issues raised by David Woodhouse addressed.

This patch series is also available as:
git://git.o-hand.com/linux-rpurdie linux-rpurdie-lzo
(http://git.o-hand.com/?p=linux-rpurdie;a=shortlog;h=linux-rpurdie-lzo)

LZO compression 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 for control of jffs2 options at runtime that are currently available only at boottime. There are several other controls which it may be desirable to add to the basic framework this patch creates in due course.

Richard

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