Re: Btrfs for mainline

Chris Mason
2009-01-05T14:15:34Z

On Sat, 2009-01-03 at 18:44 +0900, Ryusuke Konishi wrote:
> On Fri, 02 Jan 2009 14:38:07 -0500, Chris Mason
>
> Btrfs seems to have other helpful code including pages/bio compression
> which may become separable, too. And, this may be the same for
> pages/bio encryption/decryption code which would come next. (I don't
> mention about the volume management/raid feature here to avoid getting
> off the subject, but it's likewise).
>

The compression code is somewhat tied to the btrfs internals, but it
could be pulled out without too much trouble. The big question there is
if other filesystems are interested in transparent compression support.

But, at the end of the day, most of the work is still done by the zlib
code. The btrfs bits just organize pages to send down to zlib.

-chris