[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4cefeab80705240648k2f3c22ddw13374c9d6b2f521a@mail.gmail.com>
Date: Thu, 24 May 2007 19:18:30 +0530
From: "Nitin Gupta" <nitingupta910@...il.com>
To: "Bret Towe" <magnade@...il.com>
Cc: linux-kernel@...r.kernel.org,
"Richard Purdie" <richard@...nedhand.com>, linux-mm-cc@...top.org,
"Satyam Sharma" <satyam.sharma@...il.com>
Subject: Re: [RFC] LZO de/compression support - take 3
On 5/23/07, Bret Towe <magnade@...il.com> wrote:
> On 5/23/07, Nitin Gupta <nitingupta910@...il.com> wrote:
> > For now, tested on x86 only.
>
> If you have a program to test this I can run it on an amd64 and a g4 ppc
>
Attached is the kernel module (compress-test) to test this LZO code.
Just compile this module against 2.6.22-rc2 with this LZO patch. Then
testing can be done as:
1- Mount DebugFS somewhere e.g:
mkdir /debug; mount -t debugfs debugfs /debug
2- Load the module and do:
cat /path/to/some_file > /debug/compress_test/compress
(/var/log/messages should show that compression was successful)
3- Then decompress this file as:
cat /debug/compress_test/decompress > /tmp/t
(/var/log/messages should show that decompression was successful)
4- For extra verification do:
diff /tmp/t /path/to/some_file -- O/P must be empty
Thanks!
Nitin
Download attachment "compress-test.tar.gz" of type "application/x-gzip" (1489 bytes)
Powered by blists - more mailing lists