Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757721Ab0BCWxe (ORCPT ); Wed, 3 Feb 2010 17:53:34 -0500 Received: from ogre.sisk.pl ([217.79.144.158]:41218 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754668Ab0BCWxc (ORCPT ); Wed, 3 Feb 2010 17:53:32 -0500 From: "Rafael J. Wysocki" To: Nigel Cunningham Subject: Re: LZO irreversible output? Date: Wed, 3 Feb 2010 23:54:11 +0100 User-Agent: KMail/1.12.4 (Linux/2.6.33-rc6-rjw; KDE/4.3.5; x86_64; ; ) Cc: linux-crypto@vger.kernel.org, TuxOnIce Devel List , LKML References: <4B69ECE5.5060505@crca.org.au> In-Reply-To: <4B69ECE5.5060505@crca.org.au> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Message-Id: <201002032354.11284.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1160 Lines: 26 On Wednesday 03 February 2010, Nigel Cunningham wrote: > Hi all. > > (Not sent to LKML yesterday; no reply from linux-crypto yet, so resending). > > A while back now, I stopped supplying the LZF compression algorithm with > TuxOnIce and made LZO the default algorithm. Around the same time, we > started getting occasional errors when reading images; decompression > failures. > > I've finally managed to find the time to properly look at this, and have > managed to find a data page that LZO compresses, but seems to be unable > to decompress back to the original contents. I'm wondering whether this > is because I'm doing something wrong, or because there really is some > data the LZO (or the kernel implementation) can't do reversible > compression on. Well, FWIW, we have never had any problems with the userland LZO in s2disk, so if anything is wrong with LZO here, I guess it's the kernel code. Rafael -- 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/