linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] Squashfs: Add support for LZMA compressed filesystems
@ 2009-12-07  8:37 Phillip Lougher
  2009-12-12  5:29 ` Bruno Wolff III
  2009-12-21 23:16 ` Bruno Wolff III
  0 siblings, 2 replies; 12+ messages in thread
From: Phillip Lougher @ 2009-12-07  8:37 UTC (permalink / raw)
  To: akpm, linux-embedded, linux-fsdevel, linux-kernel,
	phillip.lougher, tim.bird

Hi,

The following patches add LZMA decompression support to Squashfs, using the
in-kernel LZMA decompression library.

The patches also add a decompression framework to Squashfs.
This allows LZMA decompression to be added cleanly, and it allows
additional decompressors to be easily added in the future.

To enable the in-kernel LZMA decompression code to be used by Squashfs,
there are two patches to the lzma code itself: one to make lzma available
to non-init code, and one to make lzma reentrant.  These are obviously
not restricted to Squashfs, but are needed by any non-init code that
may wish to use lzma compression.

These patches are available in my squashfs-devel git tree in a slightly
different format (these patches have been refactored for posting, they'll
be put into a git tree ASAP).

http://git.kernel.org/?p=linux/kernel/git/pkl/squashfs-devel.git;a=summary

I would like to thank the CE Linux Forum (CELF) for supporting this work.

Thanks

Phillip


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/9] Squashfs: Add support for LZMA compressed filesystems
  2009-12-07  8:37 [PATCH 0/9] Squashfs: Add support for LZMA compressed filesystems Phillip Lougher
@ 2009-12-12  5:29 ` Bruno Wolff III
  2009-12-13  0:18   ` Ozan Çağlayan
  2009-12-21 23:16 ` Bruno Wolff III
  1 sibling, 1 reply; 12+ messages in thread
From: Bruno Wolff III @ 2009-12-12  5:29 UTC (permalink / raw)
  To: Phillip Lougher; +Cc: linux-kernel

On Mon, Dec 07, 2009 at 08:37:48 +0000,
  Phillip Lougher <phillip@lougher.demon.co.uk> wrote:
> Hi,
> 
> The following patches add LZMA decompression support to Squashfs, using the
> in-kernel LZMA decompression library.

I am a member of the Spins SIG and the Games Spin maintainer for Fedora.
Thanks for working to get LZMA squashfs included in 2.6.33. If this
gets accepted, we will have livecd-creator using it in F13 in order
to include more packages in size limited images (such as the Games Spin)
or reduce the size other images.
Possibly it will be mentioned as a "feature" for the F13 release. I have
a proposed feature page set up and waiting for these patches to be accepted at:
https://fedoraproject.org/wiki/Features/LZMA_for_Live_Images

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/9] Squashfs: Add support for LZMA compressed filesystems
  2009-12-12  5:29 ` Bruno Wolff III
@ 2009-12-13  0:18   ` Ozan Çağlayan
  0 siblings, 0 replies; 12+ messages in thread
From: Ozan Çağlayan @ 2009-12-13  0:18 UTC (permalink / raw)
  To: Phillip Lougher; +Cc: linux-kernel

Bruno Wolff III wrote:
> On Mon, Dec 07, 2009 at 08:37:48 +0000,
>   Phillip Lougher <phillip@lougher.demon.co.uk> wrote:
>   
>> Hi,
>>
>> The following patches add LZMA decompression support to Squashfs, using the
>> in-kernel LZMA decompression library.
>>     
>
> I am a member of the Spins SIG and the Games Spin maintainer for Fedora.
> Thanks for working to get LZMA squashfs included in 2.6.33. If this
> gets accepted, we will have livecd-creator using it in F13 in order
> to include more packages in size limited images (such as the Games Spin)
> or reduce the size other images
>   

Similar, I was looking forward to squashfs-lzma to use it on our
distribution's installation/live medium. I once digged into the openwrt
patches and failed. Now I tested your patches (on top of 2.6.30.9) +
userspace from CVS patched with lzma 4.65, it's working flawlessly. With
lzma, our live cd image's size decreased from 820mb to 692mb.

Thanks a lot for your work
Ozan Caglayan


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/9] Squashfs: Add support for LZMA compressed filesystems
  2009-12-07  8:37 [PATCH 0/9] Squashfs: Add support for LZMA compressed filesystems Phillip Lougher
  2009-12-12  5:29 ` Bruno Wolff III
@ 2009-12-21 23:16 ` Bruno Wolff III
  2009-12-21 23:47   ` Phillip Lougher
  1 sibling, 1 reply; 12+ messages in thread
From: Bruno Wolff III @ 2009-12-21 23:16 UTC (permalink / raw)
  To: Phillip Lougher
  Cc: akpm, linux-embedded, linux-fsdevel, linux-kernel,
	phillip.lougher, tim.bird

On Mon, Dec 07, 2009 at 08:37:48 +0000,
  Phillip Lougher <phillip@lougher.demon.co.uk> wrote:
> Hi,
> 
> The following patches add LZMA decompression support to Squashfs, using the
> in-kernel LZMA decompression library.

Do these still have a chance to make 2.6.33?

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/9] Squashfs: Add support for LZMA compressed filesystems
  2009-12-21 23:16 ` Bruno Wolff III
@ 2009-12-21 23:47   ` Phillip Lougher
  2009-12-21 23:56     ` Bruno Wolff III
  2009-12-31 12:06     ` Bruno Wolff III
  0 siblings, 2 replies; 12+ messages in thread
From: Phillip Lougher @ 2009-12-21 23:47 UTC (permalink / raw)
  To: Bruno Wolff III
  Cc: akpm, linux-embedded, linux-fsdevel, linux-kernel,
	phillip.lougher, tim.bird

Bruno Wolff III wrote:
> On Mon, Dec 07, 2009 at 08:37:48 +0000,
>   Phillip Lougher <phillip@lougher.demon.co.uk> wrote:
>> Hi,
>>
>> The following patches add LZMA decompression support to Squashfs, using the
>> in-kernel LZMA decompression library.
> 
> Do these still have a chance to make 2.6.33?
> 

It's very unlikely.  Andrew wanted it to spend a cycle in linux-next.  I'll then
try for 2.6.34 merge.  I'm happy with that.

Phillip


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/9] Squashfs: Add support for LZMA compressed filesystems
  2009-12-21 23:47   ` Phillip Lougher
@ 2009-12-21 23:56     ` Bruno Wolff III
  2009-12-31 12:06     ` Bruno Wolff III
  1 sibling, 0 replies; 12+ messages in thread
From: Bruno Wolff III @ 2009-12-21 23:56 UTC (permalink / raw)
  To: Phillip Lougher
  Cc: akpm, linux-embedded, linux-fsdevel, linux-kernel,
	phillip.lougher, tim.bird

On Mon, Dec 21, 2009 at 23:47:30 +0000,
  Phillip Lougher <phillip@lougher.demon.co.uk> wrote:
> Bruno Wolff III wrote:
> >On Mon, Dec 07, 2009 at 08:37:48 +0000,
> >  Phillip Lougher <phillip@lougher.demon.co.uk> wrote:
> >>Hi,
> >>
> >>The following patches add LZMA decompression support to Squashfs, using the
> >>in-kernel LZMA decompression library.
> >
> >Do these still have a chance to make 2.6.33?
> >
> 
> It's very unlikely.  Andrew wanted it to spend a cycle in linux-next.  I'll then
> try for 2.6.34 merge.  I'm happy with that.

I hadn't seen it show up there yet either. But maybe its a bit too early
for that. If it gets there I might have a chance of convincing one of
the Fedora kernel guys of back porting it, since F13 is likely to be released
with the 2,6,34 kernel in any case. (Along with some actual numbers for
our live iso images to show it's important to have. But I can get those
using the devel version of squashfs without the kernel changes.)
I'll keep an eye out for it showing up in linux-next. Thanks for the update.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/9] Squashfs: Add support for LZMA compressed filesystems
  2009-12-21 23:47   ` Phillip Lougher
  2009-12-21 23:56     ` Bruno Wolff III
@ 2009-12-31 12:06     ` Bruno Wolff III
  2010-01-01  9:11       ` Bruno Wolff III
  1 sibling, 1 reply; 12+ messages in thread
From: Bruno Wolff III @ 2009-12-31 12:06 UTC (permalink / raw)
  To: Phillip Lougher
  Cc: akpm, linux-embedded, linux-fsdevel, linux-kernel,
	phillip.lougher, tim.bird

On Mon, Dec 21, 2009 at 23:47:30 +0000,
  Phillip Lougher <phillip@lougher.demon.co.uk> wrote:
> 
> It's very unlikely.  Andrew wanted it to spend a cycle in linux-next.  I'll then
> try for 2.6.34 merge.  I'm happy with that.
> 
> Phillip

linux-next still hasn't picked these patches up. It would give me more leverage
in getting the patches into Fedora 13 if they were to be in linux-next.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/9] Squashfs: Add support for LZMA compressed filesystems
  2009-12-31 12:06     ` Bruno Wolff III
@ 2010-01-01  9:11       ` Bruno Wolff III
  0 siblings, 0 replies; 12+ messages in thread
From: Bruno Wolff III @ 2010-01-01  9:11 UTC (permalink / raw)
  To: Phillip Lougher
  Cc: akpm, linux-embedded, linux-fsdevel, linux-kernel,
	phillip.lougher, tim.bird

On Thu, Dec 31, 2009 at 06:06:34 -0600,
  Bruno Wolff III <bruno@wolff.to> wrote:
> On Mon, Dec 21, 2009 at 23:47:30 +0000,
>   Phillip Lougher <phillip@lougher.demon.co.uk> wrote:
> > 
> > It's very unlikely.  Andrew wanted it to spend a cycle in linux-next.  I'll then
> > try for 2.6.34 merge.  I'm happy with that.
> > 
> > Phillip
> 
> linux-next still hasn't picked these patches up. It would give me more leverage
> in getting the patches into Fedora 13 if they were to be in linux-next.

I see that they made it into the January 1st linux-next tree. Thanks.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/9] Squashfs: Add support for LZMA compressed filesystems
  2009-12-08 17:59   ` Phillip Lougher
@ 2009-12-13 20:13     ` Arkadiusz Miśkiewicz
  0 siblings, 0 replies; 12+ messages in thread
From: Arkadiusz Miśkiewicz @ 2009-12-13 20:13 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-fsdevel, linux-embedded, linux-fsdevel, linux-kernel

Phillip Lougher wrote:

> Peter Korsgaard wrote:

>> Nice, do you also have an mksquashfs with lzma support?
>> 
> 
> Yes, in Squashfs CVS (http://sourceforge.net/projects/squashfs/develop).

Any reason for not using much nicer xz library instead of lzma sdk ? 

http://tukaani.org/xz/

> Phillip


-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/9] Squashfs: Add support for LZMA compressed filesystems
  2009-12-07  8:47 ` Peter Korsgaard
@ 2009-12-08 17:59   ` Phillip Lougher
  2009-12-13 20:13     ` Arkadiusz Miśkiewicz
  0 siblings, 1 reply; 12+ messages in thread
From: Phillip Lougher @ 2009-12-08 17:59 UTC (permalink / raw)
  To: Peter Korsgaard
  Cc: linux-embedded, linux-fsdevel, linux-kernel, phillip.lougher, tim.bird

Peter Korsgaard wrote:
>>>>>> "root" == root  <root@lougher.demon.co.uk> writes:
> 
>  root> Hi,
>  root> The following patches add LZMA decompression support to Squashfs, using the
>  root> in-kernel LZMA decompression library.
> 
>  root> The patches also add a decompression framework to Squashfs.
>  root> This allows LZMA decompression to be added cleanly, and it allows
>  root> additional decompressors to be easily added in the future.
> 
>  root> To enable the in-kernel LZMA decompression code to be used by Squashfs,
>  root> there are two patches to the lzma code itself: one to make lzma available
>  root> to non-init code, and one to make lzma reentrant.  These are obviously
>  root> not restricted to Squashfs, but are needed by any non-init code that
>  root> may wish to use lzma compression.
> 
> Nice, do you also have an mksquashfs with lzma support?
> 

Yes, in Squashfs CVS (http://sourceforge.net/projects/squashfs/develop).
You'll need to edit the squashfs-tools Makefile to enable LZMA support.
The comments in the Makefile should, hopefully, explain how to
build LZMA support into Mksquashfs/Unsquashfs.

Once built-in, LZMA support can be specified using the -comp lzma option, i.e.

mksquashfs dir dir.img -comp lzma

Unsquashfs doesn't need any extra options, it automatically detects which
compression has been used.

You can tell which compression algorithms Mksquashfs/Unsquashfs support by
just typing the command on its own (i.e. mksquashfs, or unsquashfs).  The
(de-)compressors available are displayed at the end of the output.

Phillip







^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/9] Squashfs: Add support for LZMA compressed filesystems
  2009-12-07  8:25 root
@ 2009-12-07  8:47 ` Peter Korsgaard
  2009-12-08 17:59   ` Phillip Lougher
  0 siblings, 1 reply; 12+ messages in thread
From: Peter Korsgaard @ 2009-12-07  8:47 UTC (permalink / raw)
  To: phillip
  Cc: akpm, linux-embedded, linux-fsdevel, linux-kernel,
	phillip.lougher, tim.bird

>>>>> "root" == root  <root@lougher.demon.co.uk> writes:

 root> Hi,
 root> The following patches add LZMA decompression support to Squashfs, using the
 root> in-kernel LZMA decompression library.

 root> The patches also add a decompression framework to Squashfs.
 root> This allows LZMA decompression to be added cleanly, and it allows
 root> additional decompressors to be easily added in the future.

 root> To enable the in-kernel LZMA decompression code to be used by Squashfs,
 root> there are two patches to the lzma code itself: one to make lzma available
 root> to non-init code, and one to make lzma reentrant.  These are obviously
 root> not restricted to Squashfs, but are needed by any non-init code that
 root> may wish to use lzma compression.

Nice, do you also have an mksquashfs with lzma support?

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH 0/9] Squashfs: Add support for LZMA compressed filesystems
@ 2009-12-07  8:25 root
  2009-12-07  8:47 ` Peter Korsgaard
  0 siblings, 1 reply; 12+ messages in thread
From: root @ 2009-12-07  8:25 UTC (permalink / raw)
  To: akpm, linux-embedded, linux-fsdevel, linux-kernel,
	phillip.lougher, tim.bird

Hi,

The following patches add LZMA decompression support to Squashfs, using the
in-kernel LZMA decompression library.

The patches also add a decompression framework to Squashfs.
This allows LZMA decompression to be added cleanly, and it allows
additional decompressors to be easily added in the future.

To enable the in-kernel LZMA decompression code to be used by Squashfs,
there are two patches to the lzma code itself: one to make lzma available
to non-init code, and one to make lzma reentrant.  These are obviously
not restricted to Squashfs, but are needed by any non-init code that
may wish to use lzma compression.

These patches are available in my squashfs-devel git tree in a slightly
different format (these patches have been refactored for posting, they'll
be put into a git tree ASAP).

http://git.kernel.org/?p=linux/kernel/git/pkl/squashfs-devel.git;a=summary

I would like to thank the CE Linux Forum (CELF) for supporting this work.

Thanks

Phillip


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-01-01  9:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-07  8:37 [PATCH 0/9] Squashfs: Add support for LZMA compressed filesystems Phillip Lougher
2009-12-12  5:29 ` Bruno Wolff III
2009-12-13  0:18   ` Ozan Çağlayan
2009-12-21 23:16 ` Bruno Wolff III
2009-12-21 23:47   ` Phillip Lougher
2009-12-21 23:56     ` Bruno Wolff III
2009-12-31 12:06     ` Bruno Wolff III
2010-01-01  9:11       ` Bruno Wolff III
  -- strict thread matches above, loose matches on Subject: below --
2009-12-07  8:25 root
2009-12-07  8:47 ` Peter Korsgaard
2009-12-08 17:59   ` Phillip Lougher
2009-12-13 20:13     ` Arkadiusz Miśkiewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).