[lkml]   [2010]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Status of SquashFS LZMA support in mainline
Tim Bird wrote:
> Does anyone (Phillip?) know the status of SquashFS support
> for LZMA compression in mainline? I seem to recall that
> Phillip got the patches for this into linux-next sometime
> in January, but I'm not sure if the latest kernel
> (2.6.34-rcxx) includes this or not.

Short answer, no it doesn't include this, Linus rejected my
changes to the LZMA code that made it available for
use by non init code (the LZMA code is currently only used by
initramfs/initrd and the kernel decompression code).

See the thread with the response from Linus here

So even though AFAIK there was no issues with the Squashfs LZMA
wrapper, I had to drop it because it's useless without my changes
to the LZMA code.

I salvaged as much as possible, and submitted a second pull request
with only the new Squashfs decompression framework (so it can use different
decompressors cleanly). This was accepted.

> I also see in Linus' git tree the following commits in
> March:
> 2010-03-05 Linus Torvalds Merge git://
> ...git://git./linux/kernel/git/pkl/squashfs-linus
> Squashfs: get rid of obsolete definition...
> Squashfs: get rid of obsolete variable...
> Squashfs: add decompressor entries for...
> Squashfs: add a decompressor framework
> Squashfs: factor out remaining zlib dependencies...
> Squashfs: move zlib decompression wrapper...

The partial pull is why the commit history is slightly confusing, part of the
work is there, but all LZMA work is mysteriously missing.

What now? It's clear the Squashfs LZMA work isn't going to be accepted until
I clean up the STATIC and __init mess that Linus objected to. This is one
of my next tasks when I get enough free time to work through the issues. It
may be quite a lot of work because to fix this requires touching quite a
few different architecture files. It's not something that's going to be fixed
in a couple of evenings :-(


 \ /
  Last update: 2010-04-22 04:07    [W:0.055 / U:10.844 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site