[PATCH 2/5] jffs2: Add LZO compression support to jffs2
Randy Dunlap
randy.dunlap at oracle.com
Tue May 1 16:00:05 EDT 2007
On Tue, 01 May 2007 15:47:03 +0100 Richard Purdie wrote:
> Add LZO1X compression/decompression support to jffs2.
>
> LZO's interface doesn't entirely match that required by jffs2 so a
> buffer and memcpy is unavoidable.
>
> Signed-off-by: Richard Purdie <rpurdie at openedhand.com>
> ---
>
> diff --git a/fs/Kconfig b/fs/Kconfig
> index a42f767..1645dfa 100644
> --- a/fs/Kconfig
> +++ b/fs/Kconfig
> @@ -1310,6 +1310,16 @@ config JFFS2_ZLIB
>
> Say 'Y' if unsure.
>
> +config JFFS2_LZO
> + bool "JFFS2 LZO compression support" if JFFS2_COMPRESSION_OPTIONS
> + select LZO
> + depends on JFFS2_FS
> + default y
> + help
> + minilzo-based compression. Generally works better than Zlib.
> +
> + Say 'Y' if unsure.
Use <tab> on the "help" line (instead of spaces) and
use <tab><space><space> on the help text lines.
> config JFFS2_RTIME
> bool "JFFS2 RTIME compression support" if JFFS2_COMPRESSION_OPTIONS
> depends on JFFS2_FS
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
More information about the linux-mtd
mailing list