Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

btrfs and lz4
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
btrfs and lz4
4th Apr, 2014, 12:10 PM
Post: #1
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
btrfs and lz4
BTRFS with LZ4 compression

I patched kernel/btrfs to support LZ4 compression (as addition to default LZO and ZLIB).
kernel package is at

http://xbian.brantje.com/others/xbian-package-kernel1.3-6.11b-lz4.deb

despite the offset -lz4 package version is still matching the last kernel posted to devel repo. although the original patches are old and were developed for 2.xx kernels, it was possible to rebase it to actual kernels.

it is running for me with no issues for 48h, so I don't expect issues there. just one thing to consider before installing and changing "compress=lzo" to "compress=lz4".

it will "mark" the filesystem with additional "feature flag" making it impossible to mount the volume on kernel without this patch - that means RPI is fine, problem would be moving the SD card to another linux with BTRFS with expectation to mount it (after patching the kernel no problem again - tried with ubuntu-saucy kernel 3.10.11.62 - patch is at xbian-patches repo, in kernel directory).

awaiting some reports as I would really consider making this as default.

I expect the actual LZ4 implementation being a bit old, maybe it would be possible to match it to actual sources. will check that.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
btrfs and lz4 - mk01 - 4th Apr, 2014 12:10 PM
RE: btrfs and lz4 - CurlyMo - 4th Apr, 2014, 03:05 PM
RE: btrfs and lz4 - mk01 - 4th Apr, 2014, 05:43 PM
RE: btrfs and lz4 - Perkabalo - 4th Apr, 2014, 11:33 PM
RE: btrfs and lz4 - mk01 - 5th Apr, 2014, 12:13 AM
RE: btrfs and lz4 - narotic - 5th Apr, 2014, 11:27 PM
RE: btrfs and lz4 - CurlyMo - 6th Apr, 2014, 05:32 AM
RE: btrfs and lz4 - Smultie - 6th Apr, 2014, 04:58 PM
RE: btrfs and lz4 - CurlyMo - 6th Apr, 2014, 06:59 PM
RE: btrfs and lz4 - mk01 - 13th Apr, 2014, 07:43 PM
RE: btrfs and lz4 - HolyK - 30th Aug, 2015, 02:08 AM
RE: btrfs and lz4 - CurlyMo - 13th Apr, 2014, 08:55 PM
RE: btrfs and lz4 - CurlyMo - 14th Apr, 2014, 05:56 AM
RE: btrfs and lz4 - Chris83 - 3rd Sep, 2014, 07:35 AM
RE: btrfs and lz4 - f1vefour - 3rd Sep, 2014, 04:02 PM
RE: btrfs and lz4 - CurlyMo - 3rd Sep, 2014, 09:03 PM
RE: btrfs and lz4 - Chris83 - 3rd Sep, 2014, 10:03 PM
RE: btrfs and lz4 - CurlyMo - 3rd Sep, 2014, 10:06 PM
RE: btrfs and lz4 - Chris83 - 3rd Sep, 2014, 11:34 PM
Re: RE: btrfs and lz4 - f1vefour - 4th Sep, 2014, 08:28 AM
RE: btrfs and lz4 - Chris83 - 4th Sep, 2014, 08:53 AM
RE: btrfs and lz4 - f1vefour - 4th Sep, 2014, 11:45 AM
RE: btrfs and lz4 - CurlyMo - 4th Sep, 2014, 06:11 PM
Re: btrfs and lz4 - f1vefour - 5th Sep, 2014, 05:20 AM
RE: btrfs and lz4 - CurlyMo - 5th Sep, 2014, 07:46 AM
Re: btrfs and lz4 - f1vefour - 5th Sep, 2014, 03:17 PM
RE: btrfs and lz4 - CurlyMo - 5th Sep, 2014, 05:53 PM
RE: btrfs and lz4 - f1vefour - 5th Sep, 2014, 09:52 PM
RE: btrfs and lz4 - CurlyMo - 6th Sep, 2014, 06:26 AM
RE: btrfs and lz4 - mk01 - 13th Sep, 2014, 12:52 AM
RE: btrfs and lz4 - Chris83 - 13th Sep, 2014, 01:49 AM
RE: btrfs and lz4 - f1vefour - 13th Sep, 2014, 11:02 AM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 30th Mar, 2023, 06:44 PM Powered By MyBB, © 2002-2023 MyBB Group.