Snappy compression for BTRFS?
Mono
Status: Contributor
Joined: 21 Jun 2012
Posts: 115
Reply Quote
Apparently there was code written years ago to add support for Google's Snappy compression to BTRFS. It is comparable to LZO compression as it emphasizes speed. However I haven't seen much more information about it.

Would it be possible to add support for Snappy compression to Liquorix?

article.gmane.org/gmane.comp.file-systems.btrfs/15316
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1122
Reply Quote
Well, there's actually two reasons why we probably should not add snappy.

One, LZ4 entered kernel 3.15 and performs similar to snappy. Already Snappy and LZ4 are on a different level from LZO.

And two, filesystem patches are probably the most dangerous of patches to maintain out of tree. The worst that can happen is data corruption that occurs over a long period of time affecting your current work as well as backups.

Snappy does seem interesting and I'm sure it has its pros over LZ4. However, because it's not _that_ much better than LZ4, it's best if it's kept out until someone mainlines it.
Back to top
Display posts from previous:   

All times are GMT - 8 Hours