Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753096AbXEAT67 (ORCPT ); Tue, 1 May 2007 15:58:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753189AbXEAT67 (ORCPT ); Tue, 1 May 2007 15:58:59 -0400 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 Date: Tue, 1 May 2007 13:00:05 -0700 From: Randy Dunlap To: Richard Purdie Cc: LKML , David Woodhouse , herbert@gondor.apana.org.au, linux-mtd , linux-crypto@vger.kernel.org Subject: Re: [PATCH 2/5] jffs2: Add LZO compression support to jffs2 Message-Id: <20070501130005.57ae0b49.randy.dunlap@oracle.com> In-Reply-To: <1178030823.5883.54.camel@localhost.localdomain> References: <1178030823.5883.54.camel@localhost.localdomain> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.3.1 (GTK+ 2.8.10; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Whitelist: TRUE X-Whitelist: TRUE X-Brightmail-Tracker: AAAAAQAAAAI= Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1306 Lines: 43 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 *** - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/