From: Randy Dunlap Subject: Re: [PATCH 2/5] jffs2: Add LZO compression support to jffs2 Date: Tue, 1 May 2007 13:00:05 -0700 Message-ID: <20070501130005.57ae0b49.randy.dunlap@oracle.com> References: <1178030823.5883.54.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: LKML , David Woodhouse , herbert@gondor.apana.org.au, linux-mtd , linux-crypto@vger.kernel.org To: Richard Purdie Return-path: Received: from agminet01.oracle.com ([141.146.126.228]:19027 "EHLO agminet01.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753096AbXEAT65 (ORCPT ); Tue, 1 May 2007 15:58:57 -0400 In-Reply-To: <1178030823.5883.54.camel@localhost.localdomain> Sender: linux-crypto-owner@vger.kernel.org List-Id: linux-crypto.vger.kernel.org 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 > --- > > 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 on the "help" line (instead of spaces) and use 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 ***