From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 3a.49.1343.static.theplanet.com ([67.19.73.58] helo=pug.o-hand.com) by canuck.infradead.org with esmtps (Exim 4.63 #1 (Red Hat Linux)) id 1HMUF3-00053k-K6 for linux-mtd@lists.infradead.org; Wed, 28 Feb 2007 14:13:37 -0500 Subject: [PATCH 0/5] Add LZO Compression From: Richard Purdie To: LKML , David Woodhouse , herbert@gondor.apana.org.au Content-Type: text/plain Date: Wed, 28 Feb 2007 19:13:18 +0000 Message-Id: <1172689998.16062.135.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: linux-mtd , linux-crypto@vger.kernel.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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