Re: Compressed Filesystem

Chris Mason
2008-12-18T15:55:35Z

On Tue, 2008-12-16 at 20:45 +0100, Roland wrote:
> >I agree that adding more options will add more complexity but it seems
> > the same amount of work in kernel space will have to be done
>
> regarding lzo compression itself - it`s already there(since july 2007).
> the in-kernel lzo is equivalent to minilzo.
> (http://www.oberhumer.com/opensource/lzo/)

The compression code initially used the kernel lzo modules. Even though
the zlib api is clunky and strange, it is actually a better fit to the
multi-page compressions that need to be done by btrfs. So adding LZO
support would require some work to compress over multiple pages at a
time.

-chris